Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WQQeF-0000bo-Rr for pgsql-odbc@arkaria.postgresql.org; Thu, 20 Mar 2014 00:15:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WQQeF-0007ua-6Z for pgsql-odbc@arkaria.postgresql.org; Thu, 20 Mar 2014 00:15:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WQQeE-0007tX-64 for pgsql-odbc@postgresql.org; Thu, 20 Mar 2014 00:15:50 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WQQe5-0007Ix-U2 for pgsql-odbc@postgresql.org; Thu, 20 Mar 2014 00:15:49 +0000 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 71AFD2A10A; Wed, 19 Mar 2014 17:15:38 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 6CF8C1830F; Wed, 19 Mar 2014 17:15:38 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 4834D120032; Wed, 19 Mar 2014 17:15:34 -0700 (PDT) Received: from [10.119.235.175] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Wed, 19 Mar 2014 17:15:33 -0700 (PDT) Message-ID: <532A3327.4050108@vmware.com> Date: Thu, 20 Mar 2014 01:15:35 +0100 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: PostgreSQL mailing lists Subject: Re: Regression tests for deprecated functions References: 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/19/2014 01:27 PM, Michael Paquier wrote: > I have created the attached patch, that adds a new set of regression > tests for all the deprecated functions of ODBC listed here: > http://msdn.microsoft.com/en-us/library/ms716309%28v=vs.85%29.aspx SQLFreeStmt isn't completely deprecated, just the SQL_DROP option. Which you're not testing ;-). SQLBindParam isn't really deprecated, see http://msdn.microsoft.com/en-us/library/ms710955%28v=vs.85%29.aspx. I think we'll want to keep that, even if we remove the rest of the deprecated functions, to stay compatible with a ISO / Open Group driver manager that doesn't know about the Microsoft extensions. (AFAIK no such driver manager actually exists, but as a matter of principle...) Please also add the new test case to test/Makefile and Makefile.am > Btw, I noticed that we use in most of the regression tests deprecated > functions (SQLFreeStmt mainly). I think that we should change them to > the latest ODBC 3.X functions. I agree. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc