pgsql: Allow incremental sorts for windowing functions

From: David Rowley <drowley(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Allow incremental sorts for windowing functions
Date: 2020-09-15 11:45:11
Message-ID: E1kI9OZ-0003cR-46@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-09-15 14:58:43 pgsql: Doc: fix misstatement in v13 release notes.
Previous Message David Rowley 2020-09-15 03:09:17 pgsql: Fix compiler warning