]> granicus.if.org Git - postgresql/commit
Don't VALGRIND_PRINTF() each query string.
authorNoah Misch <noah@leadboat.com>
Fri, 6 Sep 2013 23:42:00 +0000 (19:42 -0400)
committerNoah Misch <noah@leadboat.com>
Fri, 6 Sep 2013 23:42:00 +0000 (19:42 -0400)
commitb8104730c8eae1f81ccbc8673bbd2a3566e660ae
tree199f82c73cbcad810ef0a9e3bc2c86a1fca99fd8
parent277607d600fb71e25082b94302ca1716403cd0bc
Don't VALGRIND_PRINTF() each query string.

Doing so was helpful for some Valgrind usage and distracting for other
usage.  One can achieve the same effect by changing log_statement and
pointing both PostgreSQL and Valgrind logging to stderr.

Per gripe from Andres Freund.
src/backend/tcop/postgres.c