aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-04-12 01:59:34 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-04-12 01:59:34 -0400
commit3f5d2fe3029b181fe773a02f1d4b34624c357634 (patch)
tree7bc661eb625a661062b6e2e355ca974c4f9b9ab5 /src/backend/utils/adt/arrayfuncs.c
parent921b993677e165607029a52e7f866bbd112345a5 (diff)
downloadpostgresql-3f5d2fe3029b181fe773a02f1d4b34624c357634.tar.gz
postgresql-3f5d2fe3029b181fe773a02f1d4b34624c357634.zip
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.
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions