Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WxYQS-0008Cf-Fz for pgsql-odbc@arkaria.postgresql.org; Thu, 19 Jun 2014 09:14:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WxYQR-00009N-Uu for pgsql-odbc@arkaria.postgresql.org; Thu, 19 Jun 2014 09:14:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WxYQR-00007i-7H for pgsql-odbc@postgresql.org; Thu, 19 Jun 2014 09:14:31 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WxYQO-0001oc-Kl for pgsql-odbc@postgresql.org; Thu, 19 Jun 2014 09:14:30 +0000 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 4B68D99DC2; Thu, 19 Jun 2014 02:14:26 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 4475D18CB3; Thu, 19 Jun 2014 02:14:26 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id AA5E012002A; Thu, 19 Jun 2014 02:14:40 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Thu, 19 Jun 2014 02:14:39 -0700 (PDT) Message-ID: <53A2A9EF.6010209@vmware.com> Date: Thu, 19 Jun 2014 12:14:23 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: Craig Ringer , "pgsql-odbc@postgresql.org" Subject: Re: Removing support for v1 and v2 protocols? References: <53A2507F.808@2ndquadrant.com> In-Reply-To: <53A2507F.808@2ndquadrant.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -6.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 05:52 AM, Craig Ringer wrote: > Hi > > I've just found a bug (followup mail to come) that seems to be tied up > in support for the old v1/v2 protocols. > > Is there any reason to keep all that cruft? v3 was introduced in 7.4, in > 2003-11-17 . No reason. Michael Paquier has been working on removing it, see thread "Removing support for < 7.4 servers": http://www.postgresql.org/message-id/CAB7nPqRuxEuBgM-us4oKsc-rB6qN84CgsOC8M0O+pyW2d_GUKA@mail.gmail.com > Also, I'm wondering why psqlODBC does so much of its own protocol > handling. It links to libpq, why doesn't it use it? There's a lot of > complicated code in there - see, e.g. CC_send_query_append, that seems > to duplicate much of what libpq its self does, and mix protocol handling > up with client driver logic. Yeah. Historical reasons, I'd say. I'd like to refactor the driver to stop doing that, and use libpq. It's not an easy task, exactly because the current code is quite complicated. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc