pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Craig Ringer <craig@2ndquadrant.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Removing support for v1 and v2 protocols?
Date: Thu, 19 Jun 2014 12:14:23 +0300
Message-ID: <53A2A9EF.6010209@vmware.com> (raw)
In-Reply-To: <53A2507F.808@2ndquadrant.com>
References: <53A2507F.808@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

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....

> 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



view thread (16+ messages)  latest in thread

Message-ID: <53A2A9EF.6010209@vmware.com>
Permalink:  ../53A2A9EF.6010209@vmware.com/
Also on:    postgresql.org/message-id/53A2A9EF.6010209@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: hlinnakangas@vmware.com, craig@2ndquadrant.com
  Subject: Re: Removing support for v1 and v2 protocols?
  In-Reply-To: <53A2A9EF.6010209@vmware.com>
  References: <53A2507F.808@2ndquadrant.com> <53A2A9EF.6010209@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox