Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDTgY-00086E-Ip for pgsql-jdbc@postgresql.org; Mon, 17 Sep 2012 05:15:54 +0000 Received: from mail-ob0-f174.google.com ([209.85.214.174]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDTgX-000895-7C for pgsql-jdbc@postgresql.org; Mon, 17 Sep 2012 05:15:53 +0000 Received: by obbuo13 with SMTP id uo13so8510950obb.19 for ; Sun, 16 Sep 2012 22:15:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=vJE5pdoZvyhbuFREvdv1nOHfT6RZzd8xwXPDHbpHtMg=; b=R7kL4mK2OHXkcIvHT5MALwLmQl/ZxdbyVzQ5iP2G3G45ybx3CzDkVbC3cNUIMFW4Pj pdeYPNDFwcRRO+6tiUOTbiMFcLcjz/lu+TnHato+vYewxWm8jvqN1brH8UymOKf+fMjA F7oZ01+PJUt65Kx79fNTZPkvhOplN/Z/o0LR1iP6WnkWamD3lRT+0K00JXGY7H77MUj6 tM8f+3KgNacifMURLok2X+8SJjum7xb1MGlmtK+kWmQ/bw9wLzyF+FfveQaH/g/rELn1 JGx0VgfStc8xaM8xdZf8Nuchc5ohj9BoLnMlTnb4bO0FLcn7coeS8Duvbp6Ym/eAbSTo Y3Sw== Received: by 10.60.169.8 with SMTP id aa8mr10191838oec.109.1347858952050; Sun, 16 Sep 2012 22:15:52 -0700 (PDT) Received: from ayaki.localdomain (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id x1sm7731674oef.8.2012.09.16.22.15.47 (version=SSLv3 cipher=OTHER); Sun, 16 Sep 2012 22:15:51 -0700 (PDT) Message-ID: <5056B201.5020809@ringerc.id.au> Date: Mon, 17 Sep 2012 13:15:45 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: Dave Cramer CC: Alexander Stanier , pgsql-jdbc@postgresql.org Subject: Re: Change in Log Format and Prepared Statements References: <5051D5DA.8050404@egsgroup.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQm5rIVOUrFjQ2cndMEYKrUxU7R/RJSiV7GEKztBirTxVn2tSyhLdwUOmFVgtgzAEFo9de/W X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201209/34 X-Sequence-Number: 23270 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