Re: Accidental use of the PVC_RECURSE_WINDOWFUNCS flag? - Mailing list pgsql-hackers

From Antonin Houska
Subject Re: Accidental use of the PVC_RECURSE_WINDOWFUNCS flag?
Date
Msg-id 36203.1588174113@antos
Whole thread Raw
In response to Accidental use of the PVC_RECURSE_WINDOWFUNCS flag?  (Antonin Houska <ah@cybertec.at>)
List pgsql-hackers
Antonin Houska <ah@cybertec.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



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Binary search in ScalarArrayOpExpr for OR'd constant arrays
Next
From: James Coleman
Date:
Subject: Re: Binary search in ScalarArrayOpExpr for OR'd constant arrays