A question relative to creating an audit table

From: stan <stanb(at)panix(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: A question relative to creating an audit table
Date: 2020-02-27 21:28:47
Message-ID: 20200227212847.GB3663@panix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I ma considering setting up a function, and triggers to put a record in an
audit table when certain tables are altered. I pretty much think I know how
to do this, with one exception.

Can a function, called by a trigger, determine what table it was called
for?

--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrei Zhidenkov 2020-02-27 21:30:15 Re: A question relative to creating an audit table
Previous Message Kevin Brannen 2020-02-27 20:42:36 RE: trouble making PG use my Perl