forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit76b6ee3
committed
Improve planner's choices about when to use hashing vs sorting for DISTINCT.
The previous coding missed a bet by sometimes picking the "sorted" pathfrom query_planner even though hashing would be preferable. To fix, we haveto be willing to make the choice sooner. This contorts things a little bit,but I thought of a factorization that makes it not too awful.1 parentcbe9d6b commit76b6ee3
1 file changed
+160
-111
lines changed0 commit comments
Comments
(0)