Received: from hqmail.nws.noaa.gov (hqmail.nws.noaa.gov [140.90.19.73]) by postgresql.org (Postfix) with ESMTP id 2B94C475D5A; Wed, 27 Feb 2002 10:31:48 -0500 (EST) Received: from noaa.gov ([140.90.8.96]) by hqmail.nws.noaa.gov (Netscape Messaging Server 4.15) with ESMTP id GS775A00.KCM; Wed, 27 Feb 2002 10:31:58 -0500 Message-ID: <3C7CFBEF.58125413@noaa.gov> Date: Wed, 27 Feb 2002 10:31:59 -0500 From: "Raymond Chui" Reply-To: Raymond Chui Organization: Department of Commerce/NOAA/NWS X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-general@postgresql.org, pgsql-admin@postgresql.org Subject: Which trigger execute which function? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200203/38 X-Sequence-Number: 3573 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!