Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WxUVS-0000DB-Pd for pgsql-odbc@arkaria.postgresql.org; Thu, 19 Jun 2014 05:03:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WxUVQ-0001Q6-Vu for pgsql-odbc@arkaria.postgresql.org; Thu, 19 Jun 2014 05:03:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WxUVQ-0001Pz-2Q for pgsql-odbc@postgresql.org; Thu, 19 Jun 2014 05:03:24 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WxUVM-0004nH-VY for pgsql-odbc@postgresql.org; Thu, 19 Jun 2014 05:03:22 +0000 Received: from ayaki.localdomain (58-7-63-35.dyn.iinet.net.au [58.7.63.35]) by mrelayeu.kundenserver.de (node=mreue103) with ESMTP (Nemesis) id 0MHrNV-1X13HD06vd-003a9o; Thu, 19 Jun 2014 07:03:15 +0200 Message-ID: <53A26F0D.8090409@2ndquadrant.com> Date: Thu, 19 Jun 2014 13:03:09 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: "Inoue, Hiroshi" CC: "pgsql-odbc@postgresql.org" Subject: Re: Protocol de-synchronisation bug, bogus query sent References: <53A25C95.707@2ndquadrant.com> <53A26635.4030200@tpf.co.jp> In-Reply-To: <53A26635.4030200@tpf.co.jp> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:hsf7eNXaTiQEFL30QGRXKtcL4Mbyi8XAP+nxLc8X4w3 sRVHmbjb3KHptzvHwuelGcvLUGAQlkckFz4k3KmyBdfUyoAGeK KLHF9hcXrIPhdWhsXKMXXS9m0EwztidLKws9+oNn5C03IdPcMm LjQmhg48m35gJeX1taGVAYZrq5tcX/VA4LI7c7wn1G9WpmWI2h o853tQFuh6LLLkDtSsitCPANGq5mAgXlqF4qCeB+o5XFTfwTmn iqiD+h+U6G4u+bKF+AwbwG3QMOMHp3tVCrKXjmCtYtan4n0ELn 9sY8Io0DE/NzqpoA+B5/B2F4aCr4J3gasqTwPl2RJNlMVhVpb7 iCNxjdbIxpzLxu+L1qfikik+/WNx3TGqeY1uv1LWm X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 06/19/2014 12:25 PM, Inoue, Hiroshi wrote: > > > Patch attached, or you can pull the branch: > > fix-febe-protocol-desync-emptyquery > > from https://github.com/ringerc/psqlODBC.git BTW, the macros: PG_PROTOCOL_74 and PROTOCOL_74(...) are NOT the same thing at all. The former produces a value identifying the protocol; the latter queries the protocol version requested in the conninfo struct against the named version. Tad confusing. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc