Re: question about information_schema - Mailing list pgsql-hackers

From Tom Lane
Subject Re: question about information_schema
Date
Msg-id 9575.1084926481@sss.pgh.pa.us
Whole thread Raw
In response to question about information_schema  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-hackers
Dave Cramer <pg@fastcrypt.com> writes:
> While I'm asking how can I find all of the user defined types, assuming
> that the user is the owner of the cluster. I see that pg_dump can do
> this ?

IIRC, what pg_dump actually does is look for types that are not in the
pg_catalog schema.  Plus you probably want to exclude composite types
other than "standalone" ones (ie, all those whose associated pg_class
entry has a relkind other than COMPOSITE_TYPE).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: XactIsoLevel handling
Next
From: Bruce Momjian
Date:
Subject: Re: Fixed directory locations in installs