Re: Window Function "Run Conditions"

Andy Fan <zhihui.fan1213@gmail.com>

From: Andy Fan <zhihui.fan1213@gmail.com>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Zhihong Yu <zyu@yugabyte.com>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2022-04-05T07:40:29Z
Lists: pgsql-hackers
>
> The root cause is even ExecQual(winstate->runcondition, econtext) return
> false, we
> still return the slot to the upper node.  A simple hack can avoid it.
>

Forget to say 0002 shows what I mean.

-- 
Best Regards
Andy Fan

Commits

  1. Teach planner and executor about monotonic window funcs