aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-03-21 11:15:45 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-03-21 11:21:51 +0200
commitf897c4744fea221dfc7bbd277081edad41d1d58d (patch)
tree75da93ace14f37af7ee4819efcd1db9ff9ff7427 /contrib/postgres_fdw/postgres_fdw.c
parentf8348ea32ec8d713cd6e5d5e16f15edef22c4d03 (diff)
downloadpostgresql-f897c4744fea221dfc7bbd277081edad41d1d58d.tar.gz
postgresql-f897c4744fea221dfc7bbd277081edad41d1d58d.zip
Fix "element <@ range" cost estimation.
The statistics-based cost estimation patch for range types broke that, by incorrectly assuming that the left operand of all range oeprators is a range. That lead to a "type x is not a range type" error. Because it took so long for anyone to notice, add a regression test for that case. We still don't do proper statistics-based cost estimation for that, so you just get a default constant estimate. We should look into implementing that, but this patch at least fixes the regression. Spotted by Tom Lane, when testing query from Josh Berkus.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions