postgresql/src/backend
Tom Lane 3f5d2fe302 Be more wary of missing statistics in eqjoinsel_semi().
In particular, if we don't have real ndistinct estimates for both sides,
fall back to assuming that half of the left-hand rows have join partners.
This is what was done in 8.2 and 8.3 (cf nulltestsel() in those versions).
It's pretty stupid but it won't lead us to think that an antijoin produces
no rows out, as seen in recent example from Uwe Schroeder.
2011-04-12 01:59:34 -04:00
..
access Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
bootstrap More collations cleanup, from trawling for missed collation assignments. 2011-03-26 16:35:25 -04:00
catalog Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
commands Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
executor Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
foreign Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
lib Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
libpq Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
main pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
nodes pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
optimizer Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
parser Fix RI_Initial_Check to use a COLLATE clause when needed in its query. 2011-04-11 21:32:53 -04:00
po Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
port pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
postmaster pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
regex Insert dummy "break"s to silence compiler complaints. 2011-04-10 18:44:07 -04:00
replication pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
rewrite Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
snowball Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
storage Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
tcop pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
tsearch Teach regular expression operators to honor collations. 2011-04-10 18:03:09 -04:00
utils Be more wary of missing statistics in eqjoinsel_semi(). 2011-04-12 01:59:34 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
Makefile replication/repl_gram.h needs to be cleaned too ... 2011-03-10 00:12:38 -05:00
common.mk Workaround for recursive make breakage 2011-01-13 09:32:06 +02:00
nls.mk Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00