Re: Window Function "Run Conditions"
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: Zhihong Yu <zyu@yugabyte.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2021-08-18T10:39:36Z
Lists: pgsql-hackers
Attachments
- v3_teach_planner_and_executor_about_monotonic_wfuncs.patch (application/octet-stream) patch v3
On Tue, 17 Aug 2021 at 03:51, Zhihong Yu <zyu@yugabyte.com> wrote: > + if ((res->monotonic & MONOTONICFUNC_INCREASING) == MONOTONICFUNC_INCREASING) > > The above can be simplified as 'if (res->monotonic & MONOTONICFUNC_INCREASING) ' True. I've attached an updated patch. David
Commits
-
Teach planner and executor about monotonic window funcs
- 9d9c02ccd1ae 15.0 landed