Jeff Hoffmann wrote:
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?

I must admit I don't know of one. Hmm - it would obviously be simple enough to add to the interface, but I presume there is some overhead for each parameter you supply.


--
  Richard Huxton
  Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Reply via email to