How to get the name of the table taht fired a triigger?
Started by stanabout 6 years ago2 messagesgeneral
How can I get the name of the table that fired a trigger, in the function
called by that trigger?
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
Re: How to get the name of the table taht fired a triigger?
On Friday, February 21, 2020, stan <stanb@panix.com> wrote:
How can I get the name of the table that fired a trigger, in the function
called by that trigger?
Language specific. Read the language docs. For pl/pgsql:
https://www.postgresql.org/docs/12/plpgsql-trigger.html
David J.