Re: determining a type oid from the name - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: determining a type oid from the name
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: determining a type oid from the name  (Andrew Dunstan <[email protected]>)
List pgsql-hackers
Andrew Dunstan <[email protected]> writes:
> I fully agree it's not bulletproof, but I'm not sure what alternative there
> is.

If you know the type has been installed as an extension you can look at
the extension's content in pg_depend, much like \dx+ does, limiting to
only types whose name matches.

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: leakproof
Next
From: Robert Haas
Date:
Subject: Re: leakproof