From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Raymond Chui <Raymond.Chui@noaa.gov>
Cc: pgsql-general@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: Which trigger execute which function?
Date: Mon, 4 Mar 2002 08:26:17 -0800 (PST)
Message-ID: <20020304082533.C76685-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <3C7CFBEF.58125413@noaa.gov>
On Wed, 27 Feb 2002, Raymond Chui wrote:
> 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;
select * from pg_trigger,pg_proc where tgfoid=pg_proc.oid;
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, Raymond.Chui@noaa.gov, pgsql-general@postgresql.org
Subject: Re: Which trigger execute which function?
In-Reply-To: <20020304082533.C76685-100000@megazone23.bigpanda.com>
References: <3C7CFBEF.58125413@noaa.gov> <20020304082533.C76685-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