git.postgresql.org Git - postgresql.git/commit
2011年4月12日 05:59:42 +0000 (01:59 -0400)
2011年4月12日 05:59:42 +0000 (01:59 -0400)
commit 159c47dc7170110a39f8a16b1d0b7811f5556f87
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.
This is the main PostgreSQL git repository.
RSS
Atom