aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
diff options
context:
space:
mode:
authorAndrew Gierth <rhodiumtoad@postgresql.org>2018-09-14 17:35:42 +0100
committerAndrew Gierth <rhodiumtoad@postgresql.org>2018-09-14 17:35:42 +0100
commit728202b63cdcd7fb73fdba114903ed235eb02f3a (patch)
treea0f4f8f04b68fba0a42faea8335b8bc4cec630cd /src/backend/executor/execMain.c
parent75f9c4ca5a8047d7a9cfbc7d51a610933d04dc7f (diff)
downloadpostgresql-728202b63cdcd7fb73fdba114903ed235eb02f3a.tar.gz
postgresql-728202b63cdcd7fb73fdba114903ed235eb02f3a.zip
Order active window clauses for greater reuse of Sort nodes.
By sorting the active window list lexicographically by the sort clause list but putting longer clauses before shorter prefixes, we generate more chances to elide Sort nodes when building the path. Author: Daniel Gustafsson (with some editorialization by me) Reviewed-by: Alexander Kuzmenkov, Masahiko Sawada, Tom Lane Discussion: https://postgr.es/m/124A7F69-84CD-435B-BA0E-2695BE21E5C2%40yesql.se
Diffstat (limited to 'src/backend/executor/execMain.c')
0 files changed, 0 insertions, 0 deletions