aboutsummaryrefslogtreecommitdiff
path: root/contrib/xml2/xpath.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-03-24 21:53:12 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-03-24 21:53:12 +0000
commit6644be6ece53df7b3c71cc65c7c3d406bdf5a95a (patch)
tree58ec2d2a5e9bb5d2ba6c08d6dd7320857579456f /contrib/xml2/xpath.c
parent63995f01edcf0101ea2efa751fb999cb6f5d853f (diff)
downloadpostgresql-6644be6ece53df7b3c71cc65c7c3d406bdf5a95a.tar.gz
postgresql-6644be6ece53df7b3c71cc65c7c3d406bdf5a95a.zip
When a relation has been proven empty by constraint exclusion, propagate that
knowledge up through any joins it participates in. We were doing that already in some special cases but not in the general case. Also, defend against zero row estimates for the input relations in cost_mergejoin --- this fix may have eliminated the only scenario in which that can happen, but be safe. Per report from Alex Solovey.
Diffstat (limited to 'contrib/xml2/xpath.c')
0 files changed, 0 insertions, 0 deletions