aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/execute.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-01-03 22:39:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-01-03 22:39:49 +0000
commit85690a0e1a71d751076066f6093ea5498440f72c (patch)
tree856f7a5e35ab09d433cc6ddf5018e92c090a0237 /src/interfaces/ecpg/ecpglib/execute.c
parentcbca48aa240190f3eacfcddaee09b5f16ebf46bf (diff)
downloadpostgresql-85690a0e1a71d751076066f6093ea5498440f72c.tar.gz
postgresql-85690a0e1a71d751076066f6093ea5498440f72c.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/interfaces/ecpg/ecpglib/execute.c')
0 files changed, 0 insertions, 0 deletions