Обсуждение: type regclass casting

Поиск
Список
Период
Сортировка

type regclass casting

От
sad
Дата:
hello

select * from pg_class where oid = 'sometablename'::regclass;
(1 row)

select * from pg_class where oid = 'sometablename'::text::regclass;
ERROR  can not cast TEXT to regclass

What does this mean ?

version 7.3.3
please try it on 7.4.x