Re: comparing rows - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: comparing rows
Date
Msg-id 200008031424.KAA20037@candle.pha.pa.us
Whole thread Raw
In response to Re: comparing rows  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: comparing rows
List pgsql-hackers
> Magnus Hagander <mha@sollentuna.net> writes:
> > Summary of MS:
> > When it runs in ANSI mode, null != null.
> > When it runs in backwards compatible mode , null=null.
> 
> Oh, that's interesting, they fixed their bug.
> 
> foo = NULL should produce NULL (*not* true, and *not* false either,
> though it'd act like false in a CASE test).
> 
> Here is one vote for ripping out our parser kluge and making null act
> like it should according to the spec.  Comments?

I thought our only kludge was allowing = NULL because we got tons of MS
folks complaining in the past before we did this.  Are you thinking that
the newer MS versions will not give us a problem.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: comparing rows
Next
From: Bruce Momjian
Date:
Subject: Re: comparing rows