Re: CASE statement and SETOF values - Mailing list pgsql-general

From Christian Schoenebeck
Subject Re: CASE statement and SETOF values
Date
Msg-id 200607251659.04436.cschoene@stud.hs-heilbronn.de
Whole thread Raw
In response to Re: CASE statement and SETOF values  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Responses Re: CASE statement and SETOF values  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
List pgsql-general
Am Dienstag, 25. Juli 2006 00:01 schrieb Stephan Szabo:
> The above basically looks like:
> CASE WHEN <search condition> THEN <value expression> ELSE
> <value expression> END.
>
> In SQL92 at least, the form of <value expression> which looks like (SELECT
> ...) is <scalar subquery> which is limited to 1 column and 1 row.  The
> other subquery forms don't look legal in that position unless they changed
> that in a later version of the spec.

Ok, and is there any way to circumvent this problem?

CU
Christian

pgsql-general by date:

Previous
From: Wes
Date:
Subject: Re: Lock changes with 8.1 - what's the right lock?
Next
From: Alvaro Herrera
Date:
Subject: Re: Archiving wal files