aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/tsvector.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-11-28 18:47:56 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-11-28 18:47:56 +0000
commitd54ca56743d5b0bb43f7cd951290384a6933e9f9 (patch)
tree8133128188b9f28e4ac5f833c3a5f9f965e4d117 /src/backend/utils/adt/tsvector.c
parenta238bd146d696bf8c034a0c3a3197f37f111addc (diff)
downloadpostgresql-d54ca56743d5b0bb43f7cd951290384a6933e9f9.tar.gz
postgresql-d54ca56743d5b0bb43f7cd951290384a6933e9f9.zip
Install a lookaside cache to speed up repeated lookups of the same operator
by short-circuiting schema search path and ambiguous-operator resolution computations. Remarkably, this buys as much as 45% speedup of repetitive simple queries that involve operators that are not an exact match to the input datatypes. It should be marginally faster even for exact-match cases, though I've not had success in proving an improvement in benchmark tests. Per report from Guillame Smet and subsequent discussion.
Diffstat (limited to 'src/backend/utils/adt/tsvector.c')
0 files changed, 0 insertions, 0 deletions