git.postgresql.org Git - postgresql.git/commit
2010年2月10日 03:38:35 +0000 (03:38 +0000)
2010年2月10日 03:38:35 +0000 (03:38 +0000)
commit 76b6ee3f380b90956a1ca18f15e2a70874651f66
Improve planner's choices about when to use hashing vs sorting for DISTINCT.
The previous coding missed a bet by sometimes picking the "sorted" path
from query_planner even though hashing would be preferable. To fix, we have
to 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.
This is the main PostgreSQL git repository.
RSS
Atom