OID for pg_get_functiondef

From: jtkells(at)verizon(dot)net
To: pgsql-admin(at)postgresql(dot)org
Subject: OID for pg_get_functiondef
Date: 2011-05-02 16:52:35
Message-ID: 5sntr656p8qf7se8s74m80330kaoogs93a@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I've just started working on an 8.4 database and I have been asked to
extract all the functions source code stored in various databases and
schemas so they can be put into a repository for the developers. I'm
planning to use pg_get_functiondef(OID) but I am having a hard time
finding the OID for functions. I've looked into the
information_schema and the pg_catalog schemas and have found
information on functions but none of them seem to have the OID of the
function. Can anyone please tell how to get the OID for a function
within a schema and or if there is a better way.

Thanks

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Raghavendra 2011-05-02 17:15:13 Re: OID for pg_get_functiondef
Previous Message Kevin Grittner 2011-05-02 13:47:48 Re: Postgres TimeZone