Re: not null - trivial, unexpected behavior

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: <john(at)august(dot)com>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: not null - trivial, unexpected behavior
Date: 2001-06-16 16:23:35
Message-ID: Pine.LNX.4.30.0106161820100.755-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I wrote:

[ x = NULL vs. x != NULL ]
> > What am i missing? Shouldn't those two sets be complimentary?
>
> They should.

Correction: Each Boolean expression can have one of *three* values: true,
false, unknown (null). So those two sets will not be "complimentary" in
the traditional sense because both expressions _should_ (modulo the
information I pointed you to) return "unknown".

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2001-06-16 16:27:41 Re: calling user defined function with parameters..
Previous Message Tom Lane 2001-06-16 16:21:16 Re: not null - trivial, unexpected behavior