From: Mischa Sandberg <mischa_sandberg@telus.net>
To: pgsql-sql@postgresql.org
Subject: Re: Triggers - need help !!!
Date: Wed, 07 Jul 2004 12:43:43 GMT
Message-ID: <3eSGc.8923$eO.7106@edtnps89> (raw)
References: <77ED2BF75D59D1439F90412CC5B109740E8A2E38@ie10-sahara.hiso.honeywell.com>
<40EBD891.3050205@archonet.com>
"Richard Huxton" <dev@archonet.com> wrote in message
news:40EBD891.3050205@archonet.com...
> Pradeepkumar, Pyatalo (IE10) wrote:
> > IF UPDATE(CreateTime) THEN
> > ....
> > ....
> > END IF;
> >
> > Is this syntax correct.
>
> No, and I don't recall seeing anything like it in the manuals.
... and it's always an excellent time to read them ...
> IF OLD.CreateTime <> NEW.CreateTime THEN
> ...
... being mindful of the case where CreateTime might be NULL ...
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: mischa_sandberg@telus.net
Subject: Re: Triggers - need help !!!
In-Reply-To: <3eSGc.8923$eO.7106@edtnps89>
* 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