Skip site navigation (1) Skip section navigation (2)

pgsql: Make some marginal performance improvements in

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make some marginal performance improvements in
Date: 2006-10-01 22:25:49
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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:
        fe-protocol3.c (r1.27 -> r1.28)

pgsql-committers by date

Next:From: Tom LaneDate: 2006-10-01 23:47:17
Subject: pgsql: Improve documentation of configure's readline/libedit switches.
Previous:From: Tom LaneDate: 2006-10-01 22:08:18
Subject: pgsql: Do a CHECK_FOR_INTERRUPTS after emitting a message of less than

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group