Re: Boolean without default declared - Mailing list pgsql-sql

From Tom Lane
Subject Re: Boolean without default declared
Date
Msg-id 7678.1187214499@sss.pgh.pa.us
Whole thread Raw
In response to Re: Boolean without default declared  (Richard Broersma Jr <rabroersma@yahoo.com>)
List pgsql-sql
Richard Broersma Jr <rabroersma@yahoo.com> writes:
> --- Jon Collette <jon@etelos.com> wrote:
>> Thanks that was it exactly.  I did notice another strange thing.  When 
>> using IS NULL in an plpgsql IF statement you have to use ISNULL.  Same 
>> with NOT NULL.  Does this mean that ISNULL is more proper than IS NULL?

IS NULL is in the SQL standard, the other is not; and I dunno what you did
wrong but you certainly don't "have to" use ISNULL in plpgsql.
        regards, tom lane


pgsql-sql by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: Problem with phone list.
Next
From: Mike Diehl
Date:
Subject: Re: Problem with phone list.