Skip site navigation (1) Skip section navigation (2)

Question regardding info available in customer C trigger function

From: "Curtis H(dot) Wilbar Jr(dot)" <curtis(at)hawkmountain(dot)net>
To: pgsql-docs(at)postgresql(dot)org
Subject: Question regardding info available in customer C trigger function
Date: 2001-04-25 01:13:11
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs
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


pgsql-docs by date

Next:From: Jimmy OlgeniDate: 2001-04-25 10:37:49
Subject: missing -s option from pg_ctl documentation
Previous:From: Ludovic PENETDate: 2001-04-24 22:20:39
Subject: Translation

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group