Re: Null comparisons and the transform_null_equals run-time parameter

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ken Winter" <ken(at)sunward(dot)org>
Cc: "'PostgreSQL pg-general List'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Null comparisons and the transform_null_equals run-time parameter
Date: 2010-06-05 20:58:05
Message-ID: 8962.1275771485@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ken Winter" <ken(at)sunward(dot)org> writes:
> In case anybody else needs this functionality, let me offer a family of
> functions that do comparisons that treat NULL as a real value (rather than
> as "unknown"). For example:

Er ... this'd be a lot shorter using IS [NOT] DISTINCT FROM.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message u235sentinel 2010-06-05 23:27:37 Dell Poweredge server and Postgres
Previous Message Dimitri Fontaine 2010-06-05 19:40:21 Re: pgbouncer