Re: Parallel Scan Bug: invalid attnum: 0

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Parallel Scan Bug: invalid attnum: 0
Дата
Msg-id 20679.1478795742@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Parallel Scan Bug: invalid attnum: 0  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Parallel Scan Bug: invalid attnum: 0  (Steve Randall <srandall@s3.com>)
Список pgsql-bugs
I wrote:
> Immediate impression is that the logic for planning partial grouped
> aggregation did not get the zero-sort-keys case right.

Yeah: after flattening your view, the planner was left with GROUP BY
'S3'::character varying, which is a no-op, but it mistakenly inserted
a no-op Sort into the plan to sort by that.  One-liner fix is here
if you need it right away:

https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dcommitdiff;h=3D7=
defc3b97a31537547053946808a83e7234d1b61


            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Parallel Scan Bug: invalid attnum: 0
Следующее
От: jg@pailloncy.com
Дата:
Сообщение: BUG #14417: Cache invalidation ?