From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Removing support for < 7.4 servers
Date: Fri, 07 Mar 2014 10:12:07 +0200
Message-ID: <53197F57.3000406@vmware.com> (raw)
In-Reply-To: <CAB7nPqQ5faLSdg4MQyozfG8AtgNReQ0CGEBeF=weyLR=cHvZcA@mail.gmail.com>
References: <52134AB6.2050301@vmware.com>
<CAB7nPqQ5faLSdg4MQyozfG8AtgNReQ0CGEBeF=weyLR=cHvZcA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 03/07/2014 08:41 AM, Michael Paquier wrote:
> On Tue, Aug 20, 2013 at 7:53 PM, Heikki Linnakangas
> <hlinnakangas@vmware.com> wrote:
>> I'd like to rip out all the support for pre-7.4 servers, including protocol
>> version 2, to simplify the code. Any objections? If someone is running a
>> really old server version, I think it's fair to insist that they also use a
>> somewhat old version of the driver. (the only thing anyone should be doing
>> with 7.3 servers today is pg_dump, to be honest)
>>
>> I pushed a patch to github to do that, to see what the effect is to the
>> code:
>> https://github.com/hlinnaka/psqlodbc/commit/d5cbe6e62a72d87200217b73360a2c515a2fec79
> Heikki, do you plan to rework on that soon or do you mind if I look at
> it? I imagine that such cleanup is still welcome for the code.
Yes, it's still very much welcome. Feel free.
In addition to the protocol stuff, I think we can safely assume we're
building with ODBCVER 0x351, and remove all the #ifdefs around that. I
think we could also change the column names discussed here:
http://www.postgresql.org/message-id/5315E622.2010904@ntlworld.com.
Anything else we'd like to clean up? Perhaps we should create a wiki
page for this in wiki.postgresql.org.
It would be good to do such big changes as part of the next major
release, 09.04.xxxx. But we need to start doing them earlier, and
continue to do bug fixes for the 09.03.xxxx series at the same time.
Historically, we've only maintained one branch of psqlodbc, the latest
one. I don't think we want to change that, so we need to be fairly
careful to not do any big behavioral changes to existing applications.
Otherwise an application could get stuck on an older release. Even with
that constraint, there's a lot of old cruft that we could safely remove
and clean up.
I'd suggest that you do the changes on a fork in github and keep the
mailing list posted on how it's going, and we merge that into the main
psqlodbc repository when it's time for the 09.04.xxxx release.
If you create new test cases, those should work with the current
codebase as well, so we can merge those into the master branch earlier.
So please post those separately to the mailing list as you go.
- Heikki
--
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: hlinnakangas@vmware.com, michael.paquier@gmail.com
Subject: Re: Removing support for < 7.4 servers
In-Reply-To: <53197F57.3000406@vmware.com>
References: <52134AB6.2050301@vmware.com> <CAB7nPqQ5faLSdg4MQyozfG8AtgNReQ0CGEBeF=weyLR=cHvZcA@mail.gmail.com> <53197F57.3000406@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