Re: numeric fields and null - Mailing list pgsql-sql

From Alexey Dashevsky
Subject Re: numeric fields and null
Date
Msg-id 20030523055146.7929619327@kpgaz.chernigov.ua
Whole thread Raw
In response to Re: numeric fields and null  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-sql
> > adhoc=# update users set postaladdressid=null where id=50;
> > UPDATE 1
> >
> > adhoc=# select id,postaladdressid from users where postaladdressid=null;
> >  id | postaladdressid
> > ----+-----------------
> > (0 rows)
> >
> > Why did it not select record 50?
>
> Because NULL=NULL is not true (it's unknown).  Use IS NULL if you want to
> see if something is NULL.

If in postgresql.conf set parameter    transform_null_equals=TRUE  ????


pgsql-sql by date:

Previous
From: Bruce Young
Date:
Subject: language "plpgsql" does not exist
Next
From: Oleg Bartunov
Date:
Subject: Re: Can arrays reference primary keys in CREATE TABLE?