pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: David Rowley <drowley@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Teach planner about more monotonic window functions
Date: Fri, 27 Jan 2023 20:00:05 +0100
Message-ID: <20230127190005.kthdwmkrg434vxtp@alvherre.pgsql> (raw)
In-Reply-To: <E1pLF72-0007Dl-O6@gemulon.postgresql.org>
On 2023-Jan-27, David Rowley wrote:
> Teach planner about more monotonic window functions
>
> 9d9c02ccd introduced runConditions for window functions to allow
> monotonic window function evaluation to be made more efficient when the
> window function value went beyond some value that it would never go back
> from due to its monotonic nature. That commit added prosupport functions
> to inform the planner that row_number(), rank(), dense_rank() and some
> forms of count(*) were monotonic. Here we add support for ntile(),
> cume_dist() and percent_rank().
I think this commit missed a catversion bump.
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
view thread (3+ messages) latest in thread
Message-ID: <20230127190005.kthdwmkrg434vxtp@alvherre.pgsql> Permalink: ../20230127190005.kthdwmkrg434vxtp@alvherre.pgsql/ Also on: postgresql.org/message-id/20230127190005.kthdwmkrg434vxtp@alvherre.pgsql ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-committers@postgresql.org Cc: alvherre@alvh.no-ip.org, drowley@postgresql.org Subject: Re: pgsql: Teach planner about more monotonic window functions In-Reply-To: <20230127190005.kthdwmkrg434vxtp@alvherre.pgsql> References: <E1pLF72-0007Dl-O6@gemulon.postgresql.org> <20230127190005.kthdwmkrg434vxtp@alvherre.pgsql> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox