pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Broersma Jr <rabroersma@yahoo.com>
Cc: Jon Collette <jon@etelos.com>
Cc: SQL Postgresql List <pgsql-sql@postgresql.org>
Subject: Re: Boolean without default declared
Date: Wed, 15 Aug 2007 17:48:19 -0400
Message-ID: <7678.1187214499@sss.pgh.pa.us> (raw)
In-Reply-To: <989922.97997.qm@web31811.mail.mud.yahoo.com>
References: <989922.97997.qm@web31811.mail.mud.yahoo.com>

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



view thread (4+ messages)

Message-ID: <7678.1187214499@sss.pgh.pa.us>
Permalink:  ../7678.1187214499@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7678.1187214499@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rabroersma@yahoo.com, jon@etelos.com
  Subject: Re: Boolean without default declared
  In-Reply-To: <7678.1187214499@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox