Re: '' <> NULL - Mailing list pgsql-general

From Stephan Szabo
Subject Re: '' <> NULL
Date
Msg-id 20030325081053.B40429-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: '' <> NULL  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-general
On Tue, 25 Mar 2003, scott.marlowe wrote:

> > Does anybody here in this forum, and that work
> > with Oracle already resolve this?
> > Are there any way to change the PG to equal
> >  '' like NULL?
>
> I don't work with Oracle, but there is a hack in the postgresql.conf file
> that lets you revert this behaviour.
>
> It is transform_null_equals.  Set it to true, shut down and restart your
> database, and

transform_null_equals allows =NULL to be treated as IS NULL. It
won't help the empty string <-> NULL comparisons AFAICT.


pgsql-general by date:

Previous
From: "Shridhar Daithankar"
Date:
Subject: Re: trigger question.
Next
From: Peter Eisentraut
Date:
Subject: Re: '' <> NULL