pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Raymond Chui <Raymond.Chui@noaa.gov>
To: pgsql-general@postgresql.org
To: pgsql-admin@postgresql.org
Subject: Which trigger execute which function?
Date: Wed, 27 Feb 2002 10:31:59 -0500
Message-ID: <3C7CFBEF.58125413@noaa.gov> (raw)

Previous DBA create a lot of triggers and functions without
documentation like:

CREATE TRIGGER trigger_name [BEFORE | AFTER] event ON table_name
FOR EACH ROW EXECUTE PROCEDURE function_name();

Now he is gone. I couldn't find his PL/PGSQL source codes!

I can do

SELECT * FROM pg_proc;
SELECT * FROM pg_trigger;

to list all the name of triggers and functions. But I don't know which
trigger
execute which function. How do I find out that?

Our USENET new server (NNTP) doesn't have comp.databases.postgresql.*
news groups. Therefore, please cc: a copy to me if you reply.
Thank Q very much in advance!






view thread (4+ messages)  latest in thread

Message-ID: <3C7CFBEF.58125413@noaa.gov>
Permalink:  ../3C7CFBEF.58125413@noaa.gov/
Also on:    postgresql.org/message-id/3C7CFBEF.58125413@noaa.gov

 · 

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: Raymond.Chui@noaa.gov, pgsql-general@postgresql.org
  Subject: Re: Which trigger execute which function?
  In-Reply-To: <3C7CFBEF.58125413@noaa.gov>
  References: <3C7CFBEF.58125413@noaa.gov>

* 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