aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-09-22 23:25:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-09-22 23:25:07 +0000
commitd7e4fd99e53db2a225d17738b64c6ec66e6f17f2 (patch)
tree8e3e9f65fb74d4aa5b500802fe9fbbfe7b0a2a69 /src/backend/regex/regexec.c
parent8a64ec6285060177868917ce32a224725a16dde6 (diff)
downloadpostgresql-d7e4fd99e53db2a225d17738b64c6ec66e6f17f2.tar.gz
postgresql-d7e4fd99e53db2a225d17738b64c6ec66e6f17f2.zip
Fix bug introduced into indexable_outerrelids() by an ill-considered
"optimization". When we find a potentially useful joinclause, we have to add all its other required_relids to the result, not only the other clause_relids. They are different in the case of a joinclause whose applicability has to be postponed due to outer join. We have to include the extra rels because otherwise, after best_inner_indexscan masks the join rels with index_outer_relids, it will always fail to find the joinclause as applicable. Per report from Husam Tomeh.
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions