postgresql/src/test
Tom Lane 02b3f326b2 Fix a bug in 8.2.x that was exposed while investigating Kevin Grittner's
report of poor planning in 8.3: it's unsafe to push a constant across an
outer join when the outer-join condition is delayed by lower outer joins,
unless we recheck the outer-join condition at the upper outer join.
8.2.x doesn't really have the ability to tell whether this is the case
or not, but fortunately it doesn't matter --- it seems most desirable to
keep the join condition whether it's entirely redundant or not.  However,
it's usually mostly redundant, so force its selectivity to 1.0.

It might be a good idea to back-patch this into 8.1 as well, but I'll
refrain until/unless there's evidence that 8.1 actually fails on any
cases that this would fix.
2008-01-09 20:50:12 +00:00
..
bench Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
examples Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
locale $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
mb Change the backend to reject strings containing invalidly-encoded multibyte 2006-05-21 20:05:21 +00:00
performance Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
regress Fix a bug in 8.2.x that was exposed while investigating Kevin Grittner's 2008-01-09 20:50:12 +00:00
thread Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00