Re: Bad error message

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bad error message
Дата
Msg-id 2047.1222834168@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bad error message  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Ответы Re: Bad error message  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Список pgsql-hackers
"Gurjeet Singh" <singh.gurjeet@gmail.com> writes:
> On Wed, Oct 1, 2008 at 3:07 AM, Decibel! <decibel@decibel.org> wrote:
>> ERROR:  aggregates not allowed in WHERE clause

> No, the real issue is that you are referencing the outer table's column's
> max() in the inner query (correlated sub-query).

Yeah.  It's not easy to see how the software could guess your real
intentions here.  We could maybe offer a vaguely-worded HINT but I'm
not able to think of wording that would be very helpful.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Common Table Expressions (WITH RECURSIVE) patch
Следующее
От: Paul Schlie
Дата:
Сообщение: Re: Block-level CRC checks