pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: Jon Collette <jon@etelos.com>
Cc: SQL Postgresql List <pgsql-sql@postgresql.org>
Subject: Re: Boolean without default declared
Date: Wed, 15 Aug 2007 12:36:14 -0700 (PDT)
Message-ID: <989922.97997.qm@web31811.mail.mud.yahoo.com> (raw)
In-Reply-To: <46C35421.8010801@etelos.com>


--- 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?

Good question,  I am not sure about the proper syntax for plpgsql.  However, IS NULL is correct
for sql statements.

Also, don't forget to cc. the list so that other can chime in as well.

Regards,
Richard Broersma Jr.



view thread (4+ messages)  latest in thread

Message-ID: <989922.97997.qm@web31811.mail.mud.yahoo.com>
Permalink:  ../989922.97997.qm@web31811.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/989922.97997.qm@web31811.mail.mud.yahoo.com

 · 

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: rabroersma@yahoo.com, jon@etelos.com
  Subject: Re: Boolean without default declared
  In-Reply-To: <989922.97997.qm@web31811.mail.mud.yahoo.com>

* 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