Re: Checking inequality

From: Vitaly Belman <vitalyb(at)gmail(dot)com>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>, PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Checking inequality
Date: 2004-12-11 17:59:55
Message-ID: fa96e3c604121109594e56dd33@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

True. It does seem more proper.
Thanks.

On Sat, 11 Dec 2004 10:57:25 -0700, Michael Fuhr <mike(at)fuhr(dot)org> wrote:
> On Sat, Dec 11, 2004 at 08:54:40AM -0800, Stephan Szabo wrote:
>
> > old.series_id IS DISTINCT FROM new.series_id may do what you want
> > depending on how you want NULLs to compare (IS DISTINCT FROM would be
> > false).
>
> I forgot about IS DISTINCT FROM. I like that better than using
> COALESCE, as I had suggested.
>
> --
>
>
> Michael Fuhr
> http://www.fuhr.org/~mfuhr/
>

--
ICQ: 1912453
AIM: VitalyB1984
MSN: tmdagent(at)hotmail(dot)com
Yahoo!: VitalyBe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2004-12-11 18:07:01 Re: Simple function
Previous Message Michael Fuhr 2004-12-11 17:57:25 Re: Checking inequality