Re: audit trigger (update)

From: Wim Bertels <wim(dot)bertels(at)khleuven(dot)be>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: <pgsql-www(at)postgresql(dot)org>
Subject: Re: audit trigger (update)
Date: 2011-06-13 18:32:59
Message-ID: 1307989979.2354.1.camel@Piepoeh
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)bertels(at)khleuven(dot)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

>

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Greg Smith 2011-06-13 18:47:22 Re: Fwd: [Announce] PostgreSQL Update from Command Prompt, Inc.
Previous Message Joshua D. Drake 2011-06-13 18:30:42 Re: Fwd: [Announce] PostgreSQL Update from Command Prompt, Inc.