Received: from fury.cw.ici.net (h00105aa250e1.ne.mediaone.net [24.91.146.12]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3P1BX357285 for ; Tue, 24 Apr 2001 21:11:33 -0400 (EDT) (envelope-from curtis@hawkmountain.net) Received: from delenn (delenn.cw.ici.net [207.180.15.11]) by fury.cw.ici.net (8.9.3+Sun/8.9.3) with SMTP id VAA03355 for ; Tue, 24 Apr 2001 21:05:56 -0400 (EDT) Message-Id: <200104250105.VAA03355@fury.cw.ici.net> Date: Tue, 24 Apr 2001 21:13:11 -0400 (EDT) From: "Curtis H. Wilbar Jr." Reply-To: "Curtis H. Wilbar Jr." Subject: Question regardding info available in customer C trigger function To: pgsql-docs@postgresql.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: dCz+agQM3pGn7zR7Jb21bA== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4 SunOS 5.8 sun4u sparc X-Archive-Number: 200104/75 X-Sequence-Number: 647 I've been scouring the docs, but have not come up with answers for all my questions. I found out how to deal with trigger function arguments via PG_GETARG_xxx. However, is there a way in my C function to determine the name of the table and of the database that caused the trigger. This trigger will be used in several tables in several databases, and while I could pass these names as parameters, it would be much easier to be able to determine this via the context when called. Any info would be greatly appreciated. -- Curt Curtis H. Wilbar Jr. Hawk Mountain Networks curtis@hawkmountain.net