aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHash.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2025-02-19 11:56:54 +0200
committerAlexander Korotkov <akorotkov@postgresql.org>2025-02-19 11:59:30 +0200
commite983ee9380fcac746f9b6b7c360d255d9fcd0907 (patch)
treeb72ebe7a154d626c2bea1c6db153dc55d7567ff1 /src/backend/executor/nodeHash.c
parent8a695d7998be67445b9cd8e67faa684d4e87a40d (diff)
downloadpostgresql-e983ee9380fcac746f9b6b7c360d255d9fcd0907.tar.gz
postgresql-e983ee9380fcac746f9b6b7c360d255d9fcd0907.zip
Improve statistics estimation for single-column GROUP BY in sub-queries
This commit follows the idea of the 4767bc8ff2. If sub-query has only one GROUP BY column, we can consider its output variable as being unique. We can employ this fact in the statistics to make more precise estimations in the upper query block. Author: Andrei Lepikhov <lepihov@gmail.com> Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi> Reviewed-by: Alexander Korotkov <aekorotkov@gmail.com>
Diffstat (limited to 'src/backend/executor/nodeHash.c')
0 files changed, 0 insertions, 0 deletions