X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2C4E9D1B520 for ; Fri, 21 Nov 2003 14:55:33 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 92633-03 for ; Fri, 21 Nov 2003 10:55:05 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id AAC17D1CC81 for ; Fri, 21 Nov 2003 10:55:00 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hALEsW19012145; Fri, 21 Nov 2003 09:54:33 -0500 (EST) To: Ryszard Lach Cc: pgsql-performance@postgresql.org, Bruce Momjian Subject: Re: duration logging setting in 7.4 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> Comments: In-reply-to Ryszard Lach message dated "Fri, 21 Nov 2003 11:18:54 +0100" Date: Fri, 21 Nov 2003 09:54:32 -0500 Message-ID: <12144.1069426472@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/187 X-Sequence-Number: 4747 Ryszard Lach 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