pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Raphael Bauduin <raphael@be.easynet.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_proc.prosrc -> can I see the function's source?
Date: Thu, 15 May 2003 07:59:40 -0700 (PDT)
Message-ID: <20030515075820.H60859-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <20030515120903.GB10618@raphael>


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




view thread (3+ messages)

Message-ID: <20030515075820.H60859-100000@megazone23.bigpanda.com>
Permalink:  ../20030515075820.H60859-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20030515075820.H60859-100000@megazone23.bigpanda.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 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: sszabo@megazone23.bigpanda.com, raphael@be.easynet.net
  Subject: Re: pg_proc.prosrc -> can I see the function's source?
  In-Reply-To: <20030515075820.H60859-100000@megazone23.bigpanda.com>
  References: <20030515120903.GB10618@raphael> <20030515075820.H60859-100000@megazone23.bigpanda.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