pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Raphael Bauduin <raphael@be.easynet.net>
To: pgsql-admin@postgresql.org
Subject: pg_proc.prosrc -> can I see the function's source?
Date: Thu, 15 May 2003 14:09:03 +0200
Message-ID: <20030515120903.GB10618@raphael> (raw)

Hi all,

When I look at the entry of a pg_prc_row, I get the prosrc column. Does
that represent the id of the source of this function? Can I retrieve it
somewhere and take a look at it without pgdump -s (didn't try it yet,
but read in the archives that this would be a solution)?

Example:

select proname,prosrc  from pg_proc where proname='RI_FKey_noaction_del';
       proname        |        prosrc        
----------------------+----------------------
 RI_FKey_noaction_del | RI_FKey_noaction_del
(1 row)


Thanks for your help!

Raph



view thread (3+ messages)  latest in thread

Message-ID: <20030515120903.GB10618@raphael>
Permalink:  ../20030515120903.GB10618@raphael/
Also on:    postgresql.org/message-id/20030515120903.GB10618@raphael

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: raphael@be.easynet.net
  Subject: Re: pg_proc.prosrc -> can I see the function's source?
  In-Reply-To: <20030515120903.GB10618@raphael>
  References: <20030515120903.GB10618@raphael>

* 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