pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Allow incremental sorts for windowing functions
Date: Tue, 15 Sep 2020 11:45:11 +0000
Message-ID: <E1kI9OZ-0003cR-46@gemulon.postgresql.org> (raw)

Allow incremental sorts for windowing functions

This expands on the work done in d2d8a229b and allows incremental sort
to be considered during create_window_paths().

Author: David Rowley
Reviewed-by: Daniel Gustafsson, Tomas Vondra
Discussion: https://postgr.es/m/CAApHDvoOHobiA2x13NtWnWLcTXYj9ddpCkv9PnAJQBMegYf_xw%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/62e221e1c01e3985d2b8e4b68c364f8486c327ab

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 41 +++++++++++++++++++++++++++------
src/test/regress/expected/window.out | 44 ++++++++++++++++++++++++++++++++++++
src/test/regress/sql/window.sql      | 22 ++++++++++++++++++
3 files changed, 100 insertions(+), 7 deletions(-)



Message-ID: <E1kI9OZ-0003cR-46@gemulon.postgresql.org>
Permalink:  ../E1kI9OZ-0003cR-46@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kI9OZ-0003cR-46@gemulon.postgresql.org

 · 

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: drowley@postgresql.org
  Subject: Re: pgsql: Allow incremental sorts for windowing functions
  In-Reply-To: <E1kI9OZ-0003cR-46@gemulon.postgresql.org>
  References: <E1kI9OZ-0003cR-46@gemulon.postgresql.org>

* 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