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 m2obsqy21x.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: determining a type oid from the name  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> 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