Re: Accidental use of the PVC_RECURSE_WINDOWFUNCS flag?

From: Antonin Houska <ah(at)cybertec(dot)at>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Accidental use of the PVC_RECURSE_WINDOWFUNCS flag?
Date: 2020-04-29 15:28:33
Message-ID: 36203.1588174113@antos
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Antonin Houska <ah(at)cybertec(dot)at> wrote:

> Second, if a window function appeared in the result of
> make_partial_grouping_target() for any reason, the Agg node would fail to
> evaluate it. Am I wrong?

Well, this is PVC_RECURSE..., not PVC_INCLUDE..., so the window function
cannot appear in the result. But I still think that the function shouldn't
find any window functions.

--
Antonin Houska
Web: https://www.cybertec-postgresql.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message James Coleman 2020-04-29 15:34:24 Re: Binary search in ScalarArrayOpExpr for OR'd constant arrays
Previous Message Tomas Vondra 2020-04-29 15:17:35 Re: Binary search in ScalarArrayOpExpr for OR'd constant arrays