pgsql: Make some marginal performance improvements in - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Make some marginal performance improvements in
Date
Msg-id 20061001222549.3A8AD9FB35D@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/interfaces/libpq:
        fe-protocol3.c (r1.27 -> r1.28)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-protocol3.c.diff?r1=1.27&r2=1.28)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Do a CHECK_FOR_INTERRUPTS after emitting a message of less than
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Improve documentation of configure's readline/libedit switches.