From: Craig Ringer <craig@2ndquadrant.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Removing support for v1 and v2 protocols?
Date: Thu, 19 Jun 2014 10:52:47 +0800
Message-ID: <53A2507F.808@2ndquadrant.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
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 .
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.
I'm sure the bug I've just found isn't the only one lurking in that
protocol code. How much of it can just be removed by adopting more of libpq?
--
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
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: craig@2ndquadrant.com
Subject: Re: Removing support for v1 and v2 protocols?
In-Reply-To: <53A2507F.808@2ndquadrant.com>
References: <53A2507F.808@2ndquadrant.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