From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: Csaba Nagy <nagy@ecircle-ag.com>
Cc: Postgres JDBC <pgsql-jdbc@postgresql.org>
Cc: PostgreSQL-patches <pgsql-patches@postgresql.org>
Subject: Re: [HACKERS] [PATCHES] log_statement output for protocol
Date: Sat, 05 Aug 2006 12:27:25 -0400
Message-ID: <28967.1154795245@sss.pgh.pa.us> (raw)
In-Reply-To: <44D44B44.5070106@opencloud.com>
References: <200608050523.k755Nto22934@momjian.us>
<44D44B44.5070106@opencloud.com>
Oliver Jowett <oliver@opencloud.com> writes:
> A 50-parameter query could be .. interesting ..
> I realize that you need this level of output to reflect what is
> happening at the protocol level, but seeing all the protocol detail is
> not really what you expect when you turn on basic statement logging, is it?
Well, we've certainly been beat up often enough about the lack of
logging bind parameter values --- I don't think there's any question
about the importance of printing them. I agree that the proposed format
is much too verbose though. In particular, a separate LOG message per
parameter is NOT what I had in mind; I want them in DETAIL lines of the
bind log message. (This'd perhaps also address Oliver's issue, since
if you didn't want to see the values you could turn down
log_error_verbosity.)
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, oliver@opencloud.com, bruce@momjian.us, pg@fastcrypt.com, nagy@ecircle-ag.com, pgsql-patches@postgresql.org
Subject: Re: [HACKERS] [PATCHES] log_statement output for protocol
In-Reply-To: <28967.1154795245@sss.pgh.pa.us>
References: <200608050523.k755Nto22934@momjian.us> <44D44B44.5070106@opencloud.com> <28967.1154795245@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox