Re: control structures in plpgsql

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: control structures in plpgsql
Date: 2003-06-12 14:24:02
Message-ID: 20030612071842.S25608-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2003-06-12 14:33:13 Re: Some Questions
Previous Message Tony Simbine 2003-06-12 14:15:59 help