Re: Protocol de-synchronisation bug, bogus query sent

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Protocol de-synchronisation bug, bogus query sent
Date: 2014-06-20 00:29:16
Message-ID: 53A3805C.7010800@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On 06/19/2014 08:08 PM, Hiroshi Inoue wrote:
> (2014/06/19 11:47), Craig Ringer wrote:
>> On 06/19/2014 12:56 PM, Craig Ringer wrote:
>>>
>>> and we're attempting to use the version obtained from the server before
>>> we have it, instead of the conninfo-specified version to use for
>>> protocol selection purposes.
>>
>> The attached patch fixes this.
>
> Thanks.
> I would also check the source of this trouble.

Huh?

That _is_ the source of this trouble. Some code that runs during
connection setup, before the server version is available, tries to use
the version obtained from the server instead of the protocol version
requested in the conninfo.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Michael Paquier 2014-06-20 00:30:56 Re: Removing support for v1 and v2 protocols?
Previous Message Craig Ringer 2014-06-20 00:27:50 Re: Removing support for v1 and v2 protocols?