Re: [BUGS] Combination of ordered-set aggregate function terminates JDBC connection on PostgreSQL 9.6.5
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [BUGS] Combination of ordered-set aggregate function terminates JDBC connection on PostgreSQL 9.6.5 |
| Дата | |
| Msg-id | 10402.1507734181@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [BUGS] Combination of ordered-set aggregate function terminatesJDBC connection on PostgreSQL 9.6.5 (Pantelis Theodosiou <ypercube@gmail.com>) |
| Список | pgsql-bugs |
Pantelis Theodosiou <ypercube@gmail.com> writes:
> - it can be seen with only rank and dense_rank, with any order by (asc,
> desc, null):
> select
> rank(1) within group (order by a),
> dense_rank(1) within group (order by a)
> from (values (1)) t(a) ;
Check ...
> - but it doesn't happen if (values (1)) is replaced with a single row
> table.
It did for me. I'm using a debug-enabled build, which typically helps
to make this sort of thing more reproducible.
regression=# create table t(a int) ;
CREATE TABLE
regression=# insert into t values(1);
INSERT 0 1
regression=# select rank(1) within group (order by a), dense_rank(1) within group (order by a)
from t;
server closed the connection unexpectedly
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера