>> Select typoutput::oid from pg_type limit 1;


> Also, you *can* go back the other way.  It's very common to write
> 
>               Select * from pg_proc where oid = 'boolout'::regproc
> 
> rather than looking up the OID first.  


>  see "Object Identifier Types" in the manual.


Many thanks to you both, that helps tremendously.   

- Simone Aiken



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to