Re: control structures in plpgsql - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: control structures in plpgsql
Date
Msg-id 20030612071842.S25608-100000@megazone23.bigpanda.com
Whole thread Raw
In response to control structures in plpgsql  (Robert Treat <xzilla@users.sourceforge.net>)
Responses Re: control structures in plpgsql
List pgsql-sql
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.




pgsql-sql by date:

Previous
From: Tony Simbine
Date:
Subject: help
Next
From: Stephan Szabo
Date:
Subject: Re: Some Questions