Re: BUG #17777: An assert failed in nodeWindowAgg.c

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: BUG #17777: An assert failed in nodeWindowAgg.c
Дата
Msg-id CAApHDvrrxPy3_R7qi6Hy3cyUhPFvLJWppo0GBFJMjyFpqCyWsA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #17777: An assert failed in nodeWindowAgg.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Mon, 13 Feb 2023 at 13:55, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Code looks good now, but the comment still claims this is only
> important in the FILTER clause.  I'd rewrite the whole thing
> perhaps:
>
>     * We also don't risk using moving aggregates when there are subplans
>     * in the arguments or FILTER clause.  This is partly because
>     * contain_volatile_functions() doesn't look inside subplans; but
>     * there are other reasons why a subplan's output might be volatile.
>     * For example, syncscan mode can render the results nonrepeatable.

That seems better, so I pushed it with that. Thanks.

David



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: array_agg(DISTINCT) caused a segmentation fault
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17777: An assert failed in nodeWindowAgg.c