pg_proc.prosrc -> can I see the function's source?

From: Raphael Bauduin <raphael(at)be(dot)easynet(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: pg_proc.prosrc -> can I see the function's source?
Date: 2003-05-15 12:09:03
Message-ID: 20030515120903.GB10618@raphael
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Battaje Sharath Rao 2003-05-15 12:19:53 request 6.5.2
Previous Message G. W. 2003-05-15 11:09:41 Backup without WAL files with Server shut down