aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeFunctionscan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-01-03 22:39:57 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-01-03 22:39:57 +0000
commit8d96a06d43378ee8e509eb0d5d5dc3958fe7980f (patch)
treef2cce1abfd2ff010b3faf6b8e28765a4133cb120 /src/backend/executor/nodeFunctionscan.c
parent0fbfdf55f82cec91bd3cd1ba136e29f85f359a1a (diff)
downloadpostgresql-8d96a06d43378ee8e509eb0d5d5dc3958fe7980f.tar.gz
postgresql-8d96a06d43378ee8e509eb0d5d5dc3958fe7980f.zip
Fix regex_fixed_prefix() to cope reasonably well with regex patterns of the
form '^(foo)$'. Before, these could never be optimized into indexscans. The recent changes to make psql and pg_dump generate such patterns (for \d commands and -t and related switches, respectively) therefore represented a big performance hit for people with large pg_class catalogs, as seen in recent gripe from Erik Jones. While at it, be more paranoid about case-sensitivity checking in multibyte encodings, and fix some other corner cases in which a regex might be interpreted too liberally.
Diffstat (limited to 'src/backend/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions