pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ryszard Lach <ryszard@lach.name>
Cc: pgsql-performance@postgresql.org, Bruce Momjian <pgman@candle.pha.pa.us>
Subject: Re: duration logging setting in 7.4
Date: Fri, 21 Nov 2003 09:54:32 -0500
Message-ID: <12144.1069426472@sss.pgh.pa.us> (raw)
In-Reply-To: <20031121101854.GA1106@siaco.id.pl>
References: <20031117222058.GD3248@siaco.id.pl>
	<200311180237.hAI2b7s29417@candle.pha.pa.us>
	<20031118091646.GA8223@siaco.id.pl>
	<7948.1069373821@sss.pgh.pa.us>
	<20031121101854.GA1106@siaco.id.pl>

Ryszard Lach <ryszard@lach.name> writes:
> It seems, that empty statements are generated during opening of
> connection.

Hmm.  Try asking about that on the pgsql-jdbc list.  I think the JDBC
driver must actually be sending empty commands.

Looking at the backend code, I realize that 7.4 will emit LOG: entries
for empty query strings, whereas prior releases would not.  This isn't
a bug IMHO, but it does explain why you are noticing output that wasn't
there before you updated to 7.4.

			regards, tom lane



view thread (12+ messages)

Message-ID: <12144.1069426472@sss.pgh.pa.us>
Permalink:  ../12144.1069426472@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12144.1069426472@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ryszard@lach.name, pgman@candle.pha.pa.us
  Subject: Re: duration logging setting in 7.4
  In-Reply-To: <12144.1069426472@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