Re: Modification Dates

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Sven Schwyn <zeug(at)bluewin(dot)ch>
Cc: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: Modification Dates
Date: 2003-09-29 15:51:54
Message-ID: m3pthjmw2t.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sven Schwyn <zeug(at)bluewin(dot)ch> writes:

> CREATE TRIGGER _modified AFTER UPDATE ON any_table FOR EACH ROW
> EXECUTE PROCEDURE
> touch();

You want BEFORE UPDATE here. AFTER UPDATE happens, well, after the
update. :)

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew L. Gould 2003-09-29 16:16:40 Re: Access - can't close Form
Previous Message Tom Lane 2003-09-29 15:51:18 Re: Where are user-defined types stored/viewed