Re: audit trigger (update) - Mailing list pgsql-www

From Wim Bertels
Subject Re: audit trigger (update)
Date
Msg-id 1307989979.2354.1.camel@Piepoeh
Whole thread Raw
In response to Re: audit trigger (update)  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-www
Robert Haas schreef op ma 13-06-2011 om 01:03 [-0400]:
> On Wed, Jun 8, 2011 at 11:52 AM, Wim Bertels <wim.bertels@khleuven.be> wrote:
> > Hallo,
> >
> > on
> > http://wiki.postgresql.org/wiki/Audit_trigger
> >
> > the
> > RETURN NULL
> > in the delete part of the trigger
> > should be
> > RETURN OLD
> 
> I don't think it matters, does it?

yes it does,
otherwise this audit_trigger cancels delete statements
(as it is processed before in this example)

mvg,
Wim

> 





pgsql-www by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Fwd: [Announce] PostgreSQL Update from Command Prompt, Inc.
Next
From: Greg Smith
Date:
Subject: Re: Fwd: [Announce] PostgreSQL Update from Command Prompt, Inc.