From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Robert Treat <xzilla@users.sourceforge.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: control structures in plpgsql
Date: Thu, 12 Jun 2003 07:24:02 -0700 (PDT)
Message-ID: <20030612071842.S25608-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <1055427227.7392.315.camel@camel>
On 12 Jun 2003, Robert Treat wrote:
> Does anyone know if there is support for "IF x OR y THEN" syntax in
> plpgsql? The docs just say IF [boolean expression] then. which loosely
> interpreted could allow for an OR, but I couldn't seem to get it to
> work. TIA,
Can you give a full example of what you're trying? I'm not seeming to
have a problem in 7.3 of saying something with an OR in it apart from
needing to put parentheses around things for ordering in more complicated
cases.
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: sszabo@megazone23.bigpanda.com, xzilla@users.sourceforge.net
Subject: Re: control structures in plpgsql
In-Reply-To: <20030612071842.S25608-100000@megazone23.bigpanda.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