Re: [SQL] Slashdot Query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] Slashdot Query
Дата
Msg-id 10200.928682160@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] Slashdot Query  (Chris Bitmead <chris.bitmead@bigfoot.com>)
Список pgsql-sql
Chris Bitmead <chris.bitmead@bigfoot.com> writes:
> SELECT category.oid, category.title, category.image FROM story,
> category* WHERE story.category = category.oid AND story.approved GROUP
> BY category.oid, category.title, category.image ORDER BY min(datetime);
> pqReadData() -- backend closed the channel unexpectedly.
>         This probably means the backend terminated abnormally
>         before or while processing the request.
> We have lost the connection to the backend, so further processing is
> impossible.  Terminating.

This is a known problem --- see my pghackers email of a few days ago,
"inherited GROUP BY is busted".
        regards, tom lane


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

Предыдущее
От: Herouth Maoz
Дата:
Сообщение: Re: [SQL] Getting primary key from insert statement
Следующее
От: stevew
Дата:
Сообщение: function returning arrays?