postgresql/src/backend/optimizer/path
Tom Lane 69995c3b3f Fix cost_rescan() to account for multi-batch hashing correctly.
cost_rescan assumed that we don't need to rebuild the hash table when
rescanning a hash join.  However, that's currently only true for
single-batch joins; for a multi-batch join we must charge full freight.

This probably has escaped notice because we'd be unlikely to put a hash
join on the inside of a nestloop anyway.  Nonetheless, it's wrong.
Fix in HEAD, but don't backpatch for fear of destabilizing plans in
stable releases.
2016-07-27 17:45:05 -04:00
..
allpaths.c Typo fix. 2016-07-03 18:43:43 -04:00
clausesel.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
costsize.c Fix cost_rescan() to account for multi-batch hashing correctly. 2016-07-27 17:45:05 -04:00
equivclass.c Restore foreign-key-aware estimation of join relation sizes. 2016-06-18 15:22:34 -04:00
indxpath.c Revert CREATE INDEX ... INCLUDING ... 2016-04-08 21:52:13 +03:00
joinpath.c Avoid invalidating all foreign-join cached plans when user mappings change. 2016-07-15 17:23:02 -04:00
joinrels.c Support parallel joins, and make related improvements. 2016-01-20 14:40:26 -05:00
Makefile Extract restriction OR clauses whether or not they are indexable. 2013-12-30 12:24:37 -05:00
pathkeys.c Revert CREATE INDEX ... INCLUDING ... 2016-04-08 21:52:13 +03:00
tidpath.c Update copyright for 2016 2016-01-02 13:33:40 -05:00