Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WLptF-00051B-8Z for pgsql-odbc@arkaria.postgresql.org; Fri, 07 Mar 2014 08:12:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WLptE-0000HH-On for pgsql-odbc@arkaria.postgresql.org; Fri, 07 Mar 2014 08:12:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WLptE-0000HB-94 for pgsql-odbc@postgresql.org; Fri, 07 Mar 2014 08:12:20 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WLpt9-0004mi-V8 for pgsql-odbc@postgresql.org; Fri, 07 Mar 2014 08:12:19 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 6230428501; Fri, 7 Mar 2014 00:12:10 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 5CA3A402AE; Fri, 7 Mar 2014 00:12:10 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id B70C8C005D; Fri, 7 Mar 2014 00:12:07 -0800 (PST) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Fri, 7 Mar 2014 00:12:06 -0800 (PST) Message-ID: <53197F57.3000406@vmware.com> Date: Fri, 07 Mar 2014 10:12:07 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Michael Paquier CC: "pgsql-odbc@postgresql.org" Subject: Re: Removing support for < 7.4 servers References: <52134AB6.2050301@vmware.com> In-Reply-To: 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 03/07/2014 08:41 AM, Michael Paquier wrote: > On Tue, Aug 20, 2013 at 7:53 PM, Heikki Linnakangas > 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