postgresql/src/backend/optimizer/path
Tom Lane 244f649261 Fix an old corner-case error in match_unsorted_outer(): don't consider
the cheapest-total inner path as a new candidate while truncating the
sort key list, if it already matched the full sort key list.  This is
too much of a corner case to be worth back-patching, since it's unusual
for the cheapest total path to be sorted, and anyway no real harm is
done (except in JOIN_SEMI/ANTI cases where cost_mergejoin is a bit
broken at the moment).  But it wasn't behaving as intended, so fix it.
Noted while examining a test case from Kevin Grittner.  This error doesn't
explain his issue, but it does explain why "set enable_seqscan = off"
seemed to reproduce it for me.
2009-02-05 01:24:55 +00:00
..
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
allpaths.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
clausesel.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
costsize.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
equivclass.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
indxpath.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
joinpath.c Fix an old corner-case error in match_unsorted_outer(): don't consider 2009-02-05 01:24:55 +00:00
joinrels.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
orindxpath.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
pathkeys.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
tidpath.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00