forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit184e7a7
committed
Revise nodeMergejoin in light of example provided by Guillaume Smet.
When one side of the join has a NULL, we don't want to uselessly tryto match it against every remaining tuple of the other side. Whileat it, rewrite the comparison machinery to avoid multiple evaluationsof the left and right input expressions and to use a btree comparatorwhere available, instead of double operator calls. Also revise thestate machine to eliminate redundant comparisons and hopefully make itmore readable too.1 parent2979334 commit184e7a7
File tree
4 files changed
+658
-514
lines changed- src
- backend/executor
- include
- executor
- nodes
4 files changed
+658
-514
lines changed0 commit comments
Comments
(0)