X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BFF1656542 for ; Wed, 9 Mar 2005 21:15:26 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 51254-07 for ; Wed, 9 Mar 2005 21:15:25 +0000 (GMT) Received: from smtp.contium.pl (smtp.contium.pl [193.178.214.13]) by svr1.postgresql.org (Postfix) with ESMTP id C3E185650E for ; Wed, 9 Mar 2005 21:15:22 +0000 (GMT) Received: (qmail 22480 invoked by uid 89); 9 Mar 2005 21:15:22 -0000 Received: from unknown (HELO siaco.contium.pl) (193.178.214.124) by 0 with SMTP; 9 Mar 2005 21:15:22 -0000 Received: (qmail 18491 invoked by uid 1000); 9 Mar 2005 21:15:22 -0000 Date: Wed, 9 Mar 2005 22:15:22 +0100 From: Ryszard Lach To: pgsql-jdbc@postgresql.org Subject: PostgreSQL 8.0 can't print duration in log when client uses 8.0 jdbc driver Message-ID: <20050309211522.GA18480@autograf.pl> Reply-To: Ryszard Lach Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200503/93 X-Sequence-Number: 12485 Hi. I noticed, that PostgreSQL cannot print statement duration when a Java client is using JDBC driver (I've tested with JDK1.4.2 and JDBC-2 and JDBC-3 postgresql8 drivers). Changing driver to 7.4 (JDBC-3) solves the problem. Strange, isn't it? Richard. -- "First they ignore you. Then they laugh at you. Then they fight you. Then you win." - Mohandas Gandhi.