Re: pg_class and enum types

Поиск
Список
Период
Сортировка
От Gevik Babakhani
Тема Re: pg_class and enum types
Дата
Msg-id 4A19B9F6.6070100@xs4all.nl
обсуждение исходный текст
Ответ на Re: pg_class and enum types  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: pg_class and enum types  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Robert Haas wrote:
> On Sun, May 24, 2009 at 4:37 PM, Gevik Babakhani <pgdev@xs4all.nl> wrote:
>   
>> I was wondering why there is no pg_class record for the enum types. Do we
>> treat the enum types differently?
>>     
>
> Because types are stored in pg_type, not pg_class?
>
> ...Robert
>   
That is certainly not true.... check the following...

create type test_type as
(field1 integer,field2 varchar
);

select * from pg_class where relname='test_type'

-- 
Regards,
Gevik



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: generic options for explain
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_class and enum types