pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Alexander Stanier <alexander.stanier@egsgroup.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Change in Log Format and Prepared Statements
Date: Mon, 17 Sep 2012 13:15:45 +0800
Message-ID: <5056B201.5020809@ringerc.id.au> (raw)
In-Reply-To: <CADK3HHLdcyq54NRCa7qYr0UiBZVxh9np=y1WJrCbq9zKfg1EfA@mail.gmail.com>
References: <5051D5DA.8050404@egsgroup.com>
	<CADK3HHLdcyq54NRCa7qYr0UiBZVxh9np=y1WJrCbq9zKfg1EfA@mail.gmail.com>

On 09/14/2012 03:24 AM, Dave Cramer wrote:
> Yes, the new driver uses V3 protocol which uses prepared statements,
> named and un-named. I think the 3 durations may be due to the prepare
> and execute.

I noticed this as well, and wasn't entirely thrilled with the effects on 
logging.

I wonder if Pg can be convinced to suppress the non-execution times, or 
merge them to report a single statement execution time. I'll poke -hackers.

--
Craig Ringer





view thread (11+ messages)  latest in thread

Message-ID: <5056B201.5020809@ringerc.id.au>
Permalink:  ../5056B201.5020809@ringerc.id.au/
Also on:    postgresql.org/message-id/5056B201.5020809@ringerc.id.au

 · 

reply

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: ringerc@ringerc.id.au, pg@fastcrypt.com, alexander.stanier@egsgroup.com
  Subject: Re: Change in Log Format and Prepared Statements
  In-Reply-To: <5056B201.5020809@ringerc.id.au>
  References: <5051D5DA.8050404@egsgroup.com> <CADK3HHLdcyq54NRCa7qYr0UiBZVxh9np=y1WJrCbq9zKfg1EfA@mail.gmail.com> <5056B201.5020809@ringerc.id.au>

* 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