Re: [HACKERS] error on HAVING clause

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] error on HAVING clause
Дата
Msg-id 199804091540.LAA14641@candle.pha.pa.us
обсуждение исходный текст
Ответ на error on HAVING clause  ("Jose' Soares Da Silva" <sferac@proxy.bazzanese.com>)
Ответы Re: [HACKERS] error on HAVING clause  ("Jose' Soares Da Silva" <sferac@proxy.bazzanese.com>)
Re: [HACKERS] error on HAVING clause  ("Jose' Soares Da Silva" <sferac@proxy.bazzanese.com>)
Список pgsql-hackers
> Please enter a FULL description of your problem:
> ------------------------------------------------
>
> COUNT(*) doesn't work with HAVING
>
>
> Please describe a way to repeat the problem.   Please try to provide a
> concise reproducible example, if at all possible:
>
> ----------------------------------------------------------------------
>
> SELECT PNO
> FROM SP
> GROUP BY PNO
> HAVING COUNT(PNO) > 1;
>
> pno
> -----
> P1
> P2
> P4
> P5
> (4 rows)
>
>
> SELECT PNO
> FROM SP
> GROUP BY PNO
> HAVING COUNT(*) > 1;
>
> PQexec() -- Request was sent to backend, but backend closed the channel before responding.
>         This probably means the backend terminated abnormally before or while processing the request.

Appreciate your report.  Hopefully we can fix it by the 6.3.2 final
release.  If not, we will have to remove the feature until 6.4.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: "Jose' Soares Da Silva"
Дата:
Сообщение: error on HAVING clause
Следующее
От: dg@illustra.com (David Gould)
Дата:
Сообщение: Re: [HACKERS] Everything leaks; How it mm suppose to work?