| От | Tom Lane |
|---|---|
| Тема | Re: BUG #17777: An assert failed in nodeWindowAgg.c |
| Дата | |
| Msg-id | 842393.1676218781@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #17777: An assert failed in nodeWindowAgg.c (David Rowley <dgrowleyml@gmail.com>) |
| Ответы |
Re: BUG #17777: An assert failed in nodeWindowAgg.c
|
| Список | pgsql-bugs |
David Rowley <dgrowleyml@gmail.com> writes:
> On Sat, 11 Feb 2023 at 13:49, Andres Freund <andres@anarazel.de> wrote:
>> I think we could just add a !contain_subplans() to the code deciding whether
>> it's safe to use the movable window optimization?
> I think this is a fair way to fix the bug.
Agreed.
> Here's a patch for that.
Why is it okay to check only the filter, and not the rest of the
WindowFunc's subexpressions? The arguments we've just run through
seem to apply to a subplan in the direct or aggregated arguments
as well.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера