Re: Re: [GENERAL] Problem with coalesce..

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: [GENERAL] Problem with coalesce..
Дата
Msg-id 24580.973152550@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Problem with coalesce..  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> There are still some contexts in which subqueries in expressions are
> wierd. The example below appears to work in current sources however.

>> SELECT COALESCE ((SELECT CURVALUE FROM TABLEKEYS WHERE TABLENAME = 'BUYER'),1)
>> returns a "UNKNOWN expression type 501"

AFAICT it works in 7.0.* as well.  Are you sure this was 7.0.2, and
not 6.5.something?

            regards, tom lane

В списке pgsql-sql по дате отправления:

Предыдущее
От: "Gerhard Dieringer"
Дата:
Сообщение: Antw: Outer Joins
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Outer Joins