diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-01 22:25:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-01 22:25:48 +0000 |
commit | db2dcf58be1c15a5ce91396b3205fb982ee7a656 (patch) | |
tree | 3ee16bae0902641b07d0ccb830e6718f8a66554f /src/backend/access/gist/gistsplit.c | |
parent | 8e4fe3ba1ed8aa6bfa59b99555d67a864a2bee84 (diff) | |
download | postgresql-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