"Jim C. Nasby" <decibel@decibel.org> writes:
> What I find somewhat interesting is every other database I've used that
> exposes some kind of 'object ID' has a set of functions to map between
> an object name and it's ID, and vice-versa.
regression=# create function myfunc(int) returns int as 'select $1' language sql;
CREATE FUNCTION
regression=# SELECT 'myfunc(int)'::regprocedure::oid;
oid
--------
431373
(1 row)
regression=# select 431373::regprocedure;
regprocedure
-----------------
myfunc(integer)
(1 row)
regards, tom lane