aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2020-05-09 19:41:42 +0200
committerTomas Vondra <tomas.vondra@postgresql.org>2020-05-09 19:41:42 +0200
commitebeb3dea772652887b67a7549906f5a9ec8a487f (patch)
tree833c56f3b3c9c966eb0370adc93310bddbcd9372 /doc/src
parent9155b4be9a13038d59a7a09a27b7fbce3819eb08 (diff)
downloadpostgresql-ebeb3dea772652887b67a7549906f5a9ec8a487f.tar.gz
postgresql-ebeb3dea772652887b67a7549906f5a9ec8a487f.zip
Simplify show_incremental_sort_info a bit
Incremental sort always processes at least one full group group before switching to prefix groups, so it's enough to check just the number of full groups. There was no risk of division by zero due to the extra condition, but it made the code harder to understand. Reported-by: Ranier Vilela Discussion: https://postgr.es/m/CAEudQAp+7qoS92-4V1vLChpdY3vEkLCbf+gye6P-4cirE-0z0A@mail.gmail.com
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions