A question relative to creating an audit table - Mailing list pgsql-general

From stan
Subject A question relative to creating an audit table
Date
Msg-id 20200227212847.GB3663@panix.com
Whole thread Raw
Responses Re: A question relative to creating an audit table  (Andrei Zhidenkov <andrei.zhidenkov@n26.com>)
Re: A question relative to creating an audit table  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: A question relative to creating an audit table  (Vik Fearing <vik@postgresfriends.org>)
List 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



pgsql-general by date:

Previous
From: Kevin Brannen
Date:
Subject: RE: trouble making PG use my Perl
Next
From: Andrei Zhidenkov
Date:
Subject: Re: A question relative to creating an audit table