git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 9155b4b) | patch
Simplify show_incremental_sort_info a bit
Sat, 9 May 2020 17:41:42 +0000 (19:41 +0200)
Sat, 9 May 2020 17:41:42 +0000 (19:41 +0200)
commit ebeb3dea772652887b67a7549906f5a9ec8a487f
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
src/backend/commands/explain.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /