]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Allow incremental sorts for windowing functions
authorDavid Rowley <drowley@postgresql.org>
Tue, 15 Sep 2020 11:44:45 +0000 (23:44 +1200)
committerDavid Rowley <drowley@postgresql.org>
Tue, 15 Sep 2020 11:44:45 +0000 (23:44 +1200)
commit62e221e1c01e3985d2b8e4b68c364f8486c327ab
treecf4466e3861bd81461c691a128a6d77455efad39
parentfe4f36bcde182d57dee5dba898076aba5d826515
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
src/backend/optimizer/plan/planner.c
src/test/regress/expected/window.out
src/test/regress/sql/window.sql