aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistsplit.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-10-01 22:25:48 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-10-01 22:25:48 +0000
commitdb2dcf58be1c15a5ce91396b3205fb982ee7a656 (patch)
tree3ee16bae0902641b07d0ccb830e6718f8a66554f /src/backend/access/gist/gistsplit.c
parent8e4fe3ba1ed8aa6bfa59b99555d67a864a2bee84 (diff)
downloadpostgresql-db2dcf58be1c15a5ce91396b3205fb982ee7a656.tar.gz
postgresql-db2dcf58be1c15a5ce91396b3205fb982ee7a656.zip
Make some marginal performance improvements in reportErrorPosition(),
which turns out to be a dominant part of the runtime in scenarios involving lots of parse-time warnings (such as Stephen Frost's example of an INSERT with a lot of backslash-containing strings). There's not a whole lot we can do about the character-at-a-time scanning, but we can at least avoid traversing the query twice.
Diffstat (limited to 'src/backend/access/gist/gistsplit.c')
0 files changed, 0 insertions, 0 deletions