pgsql: Allow incremental sorts for windowing functions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Allow incremental sorts for windowing functions

David Rowley-4
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(-)