pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jtkells@verizon.net
To: pgsql-admin@postgresql.org
Subject: OID for  pg_get_functiondef
Date: Mon, 02 May 2011 12:52:35 -0400
Message-ID: <5sntr656p8qf7se8s74m80330kaoogs93a@4ax.com> (raw)

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 



view thread (4+ messages)  latest in thread

Message-ID: <5sntr656p8qf7se8s74m80330kaoogs93a@4ax.com>
Permalink:  ../5sntr656p8qf7se8s74m80330kaoogs93a@4ax.com/
Also on:    postgresql.org/message-id/5sntr656p8qf7se8s74m80330kaoogs93a@4ax.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: jtkells@verizon.net
  Subject: Re: OID for  pg_get_functiondef
  In-Reply-To: <5sntr656p8qf7se8s74m80330kaoogs93a@4ax.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox