Re: [SQL] Postres falls down on "having"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] Postres falls down on "having"
Дата
Msg-id 5141.934296932@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Postres falls down on "having"  (Paul Mamin <pm@sky.ru>)
Список pgsql-sql
Paul Mamin <pm@sky.ru> writes:
> And when result is not empty - everything's Ok.
> But when it's empty then [ backend crashes ]

I can reproduce this bug with the current development sources.
Will look into it.  A quick look at a backtrace suggests that
the problem is triggered by the "sum(int8(inb))>=maxinb" part
of the HAVING clause.  You might be able to work around it if
you can use int4 or float instead of int8 ...
        regards, tom lane


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

Предыдущее
От: "Giovanni B. Stefanoni"
Дата:
Сообщение: rpm 6.5 requires libcurses.so.4?
Следующее
От: David Ouellet
Дата:
Сообщение: Re: [SQL] Question about arrays