From: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
---|---|
To: | Raphael Bauduin <raphael(at)be(dot)easynet(dot)net> |
Cc: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: pg_proc.prosrc -> can I see the function's source? |
Date: | 2003-05-15 14:59:40 |
Message-ID: | 20030515075820.H60859-100000@megazone23.bigpanda.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Thu, 15 May 2003, Raphael Bauduin wrote:
> 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)?
The below is a function in C, so you won't get it even with a pgdump -s
(it's one of the foreign key triggers defined in
src/backend/utils/adt/ri_triggers.c if I remember location correctly)
> proname | prosrc
> ----------------------+----------------------
> RI_FKey_noaction_del | RI_FKey_noaction_del
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2003-05-15 15:08:52 | Re: [ADMIN] nested query too expensive |
Previous Message | scott.marlowe | 2003-05-15 14:45:16 | Re: TESTING the DATABASE |