multiple conditions in same plpglsql IF block

From: Dennis Gearon <gearond(at)cvc(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: multiple conditions in same plpglsql IF block
Date: 2003-03-01 00:46:41
Message-ID: OMQ82TRQO2UMJB8QM98B9RMIDJI3NM.3e6002f1@cal-lab
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'd like to do something like this:

IF IS NULL OR argument = '' THEN

in a plpgsql block. WHAT is the LOGICAL 'OR' that will work in the IF statement?

Browse pgsql-general by date

  From Date Subject
Next Message ljb 2003-03-01 00:59:51 Re: Warning: Supplied argument is not a valid PostgreSQL link resource
Previous Message Ian Barwick 2003-03-01 00:18:03 Re: Listing schemas