From: Jeff Hoffmann <jeff@propertykey.com>
To: pgsql-sql@postgresql.org
Subject: finding schema of table that called a trigger
Date: Sun, 13 Mar 2005 15:32:15 -0600
Message-ID: <4234B15F.7020406@propertykey.com> (raw)
Is there a variable defined that has the schema of the table that called
the trigger (like TG_RELNAME = table name)? I didn't see anything in
the documentation. Is the only way to get that to look it up with TG_RELID?
--
Jeff Hoffmann
jeff@propertykey.com
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jeff@propertykey.com
Subject: Re: finding schema of table that called a trigger
In-Reply-To: <4234B15F.7020406@propertykey.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