aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-09-12 14:56:13 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-09-12 14:56:13 +0000
commitbf0b6ac43c5d5eb7458e0aa4bf5f45c566f7c7d1 (patch)
treeafd42cfd131dc94d557a3b05501aa99b6baa60f3 /src/backend/utils/adt/xml.c
parentcdd08959788a38965bdef9501e04f1fac2f71f4c (diff)
downloadpostgresql-bf0b6ac43c5d5eb7458e0aa4bf5f45c566f7c7d1.tar.gz
postgresql-bf0b6ac43c5d5eb7458e0aa4bf5f45c566f7c7d1.zip
Skip opfamily check in eclass_matches_any_index() when the index isn't a
btree. We can't easily tell whether clauses generated from the equivalence class could be used with such an index, so just assume that they might be. This bit of over-optimization prevented use of non-btree indexes for nestloop inner indexscans, in any case where the join uses an equality operator that is also a btree operator --- which in particular is typically true for hash indexes. Noted while trying to test the current hash index patch.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions