finding schema of table that called a trigger

From: Jeff Hoffmann <jeff(at)propertykey(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: finding schema of table that called a trigger
Date: 2005-03-13 21:32:15
Message-ID: 4234B15F.7020406@propertykey.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)propertykey(dot)com

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2005-03-14 02:33:41 Re: plpgsql & date-time functions
Previous Message Andrew - Supernews 2005-03-12 19:18:25 Re: Parameterized views proposition