aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-11-24 19:08:51 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-11-24 19:08:51 +0000
commitaca467b9b343dccd52a8c8da74ffcf70559fb468 (patch)
tree5a5f5a1300989f40f4795992acbbb7fe6be10b0a /src/backend/utils/adt/xml.c
parent7ebbc815d994393c4315ef02fe66622e0089f972 (diff)
downloadpostgresql-aca467b9b343dccd52a8c8da74ffcf70559fb468.tar.gz
postgresql-aca467b9b343dccd52a8c8da74ffcf70559fb468.zip
Save another little bit of planner overhead on simple queries, by having
clauselist_selectivity skip some analysis that's useless when there's only one clause in the given list. Actually this can win even for not-so-simple queries, because we also apply clauselist_selectivity to sublists such as the quals matching an index; which are likely to have only a single entry even when the total query is quite complicated.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions