Re: Triggers - need help !!!

From: "Mischa Sandberg" <mischa_sandberg(at)telus(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Triggers - need help !!!
Date: 2004-07-07 12:43:43
Message-ID: 3eSGc.8923$eO.7106@edtnps89
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Richard Huxton" <dev(at)archonet(dot)com> wrote in message
news:40EBD891(dot)3050205(at)archonet(dot)com(dot)(dot)(dot)
> 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 ...

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Gerwin Philippo 2004-07-07 15:01:22 append columns that are null
Previous Message Richard Huxton 2004-07-07 11:03:45 Re: Triggers - need help !!!