Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 4686DB5DC3C for ; Tue, 13 Sep 2011 20:39:35 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 54336-03 for ; Tue, 13 Sep 2011 23:39:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail.catalyst.net.nz (bertrand.catalyst.net.nz [202.78.240.40]) by mail.postgresql.org (Postfix) with ESMTP id B3406B5DC13 for ; Tue, 13 Sep 2011 20:39:34 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id A7431320F3 for ; Wed, 14 Sep 2011 11:39:33 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at catalyst.net.nz Received: from mail.catalyst.net.nz ([127.0.0.1]) by localhost (bertrand.catalyst.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EHzkTJLyI2HF for ; Wed, 14 Sep 2011 11:39:32 +1200 (NZST) Received: from [IPv6:2404:130:0:1000:222:15ff:fe5c:2471] (unknown [IPv6:2404:130:0:1000:222:15ff:fe5c:2471]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id 7540932118 for ; Wed, 14 Sep 2011 11:39:32 +1200 (NZST) Message-ID: <4E6FE9B4.5050805@catalyst.net.nz> Date: Wed, 14 Sep 2011 11:39:32 +1200 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13 MIME-Version: 1.0 To: pgsql-php@postgresql.org Subject: Re: pdo emulate prepares not working. still getting parse-bind-execute-deallocate in pg log Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=-10 required=5 tests=none X-Spam-Level: X-Archive-Number: 201109/1 X-Sequence-Number: 4216 You may want to check your version of Php - your example works fine for me (i.e setting ATTR_EMULATE_PREPARES => true *stops* the parse, bind, exec etc) using Php 5.3.6. I cannot recall exactly when I fixed this, but the 5.2.12 changelog says the fix is there (https://bugs.php.net/bug.php?id=48764), so later 5.2 and 5.3 versions should work properly. Cheers Mark