From: Larry Rosenman <ler@lerctr.org>
To: PostgreSQL SQL List <pgsql-sql@postgresql.org>
Subject: Trigger for logging stuff...
Date: Thu, 6 Dec 2001 17:36:28 -0600
Message-ID: <20011206173628.A12797@lerami.lerctr.org> (raw)
This may be a dup...
I know I've seen an example somewhere, but can't find it right now of
a PL/pgSQL function that audit's insert/update/delete of rows in a
audit type table.
How does the PL/pgSQL function know what fields are in the row? How
can I add a by and timestamp field to the row?
Thanks!
LER
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ler@lerctr.org
Subject: Re: Trigger for logging stuff...
In-Reply-To: <20011206173628.A12797@lerami.lerctr.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox