Re: pg_class and enum types - Mailing list pgsql-hackers

From Gevik Babakhani
Subject Re: pg_class and enum types
Date
Msg-id 4A19B9F6.6070100@xs4all.nl
Whole thread Raw
In response to Re: pg_class and enum types  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: pg_class and enum types  (Andrew Dunstan <andrew@dunslane.net>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: generic options for explain
Next
From: Andrew Dunstan
Date:
Subject: Re: pg_class and enum types