Re: pg_class and enum types

From: Gevik Babakhani <pgdev(at)xs4all(dot)nl>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_class and enum types
Date: 2009-05-24 21:19:50
Message-ID: 4A19B9F6.6070100@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas wrote:
> On Sun, May 24, 2009 at 4:37 PM, Gevik Babakhani <pgdev(at)xs4all(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2009-05-24 21:21:37 Re: pg_class and enum types
Previous Message Tom Lane 2009-05-24 20:59:11 Re: generic options for explain