Re: Which trigger execute which function?

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Raymond Chui <Raymond(dot)Chui(at)noaa(dot)gov>
Cc: <pgsql-general(at)postgresql(dot)org>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Which trigger execute which function?
Date: 2002-03-04 16:26:17
Message-ID: 20020304082533.C76685-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

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;

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Dan Langille 2002-03-04 16:34:43 Re: something similar to explain
Previous Message Tom Lane 2002-03-04 15:51:02 Re: [GENERAL] Which trigger execute which function?

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Welche 2002-03-04 16:49:42 Re: passwd / pg_hba.conf
Previous Message Stephan Szabo 2002-03-04 16:25:18 Re: improving performance of UNION and ORDER BY