Re: (possible) bug with constraint exclusion - Mailing list pgsql-sql

From Rajesh Kumar Mallah
Subject Re: (possible) bug with constraint exclusion
Date
Msg-id a97c77030801120102l3bcef52di9b3cd782e7c484b@mail.gmail.com
Whole thread Raw
In response to Re: (possible) bug with constraint exclusion  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
On Jan 12, 2008 10:54 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Rajesh Kumar Mallah" <mallah.rajesh@gmail.com> writes:
> > Am I correct in understanding that the current behavior is inappropriate
> > and shall be corrected at some point of time in future versions ?
>
> It's a bug, it's patched:
> http://archives.postgresql.org/pgsql-committers/2008-01/msg00184.php

Thanks for the (unbelievable) quick response,

I applied the patch on my production server and the problem is gone.
tradein_clients=> \pset null NULL
Null display is "NULL".
tradein_clients=> SELECT * from temp.x where id is NULL; id
------NULL
(1 row)

tradein_clients=> SELECT * from temp.x ; id
------   1   2NULL
(3 rows)

tradein_clients=>


Regds
mallah.


>
>                         regards, tom lane
>


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: (possible) bug with constraint exclusion
Next
From: Shane Ambler
Date:
Subject: Re: SQL question: Highest column value of unique column pairs