From: | Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> |
---|---|
To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
Cc: | "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Re: Removing support for < 7.4 servers |
Date: | 2014-03-07 08:12:07 |
Message-ID: | 53197F57.3000406@vmware.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
On 03/07/2014 08:41 AM, Michael Paquier wrote:
> On Tue, Aug 20, 2013 at 7:53 PM, Heikki Linnakangas
> <hlinnakangas(at)vmware(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Nick Gorham | 2014-03-07 09:48:15 | Re: SQLFetchScroll with SQL_ATTR_ROWS_FETCHED_PTR closing statement. |
Previous Message | Inoue, Hiroshi | 2014-03-07 08:09:11 | Re: SQLFetchScroll with SQL_ATTR_ROWS_FETCHED_PTR closing statement. |