Re: CASE statement and SETOF values

Поиск
Список
Период
Сортировка
От Christian Schoenebeck
Тема Re: CASE statement and SETOF values
Дата
Msg-id 200607251659.04436.cschoene@stud.hs-heilbronn.de
обсуждение исходный текст
Ответ на Re: CASE statement and SETOF values  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Ответы Re: CASE statement and SETOF values  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список 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 по дате отправления:

Предыдущее
От: Wes
Дата:
Сообщение: Re: Lock changes with 8.1 - what's the right lock?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Archiving wal files