pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-odbc@postgresql.org>
Subject: Re: Regression tests for deprecated functions
Date: Thu, 20 Mar 2014 01:15:35 +0100
Message-ID: <532A3327.4050108@vmware.com> (raw)
In-Reply-To: <CAB7nPqQhgESjM=F95hNaq7mMULT_CjdrG7Yi9iArHbFzriUkYg@mail.gmail.com>
References: <CAB7nPqQhgESjM=F95hNaq7mMULT_CjdrG7Yi9iArHbFzriUkYg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

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



view thread (7+ messages)  latest in thread

Message-ID: <532A3327.4050108@vmware.com>
Permalink:  ../532A3327.4050108@vmware.com/
Also on:    postgresql.org/message-id/532A3327.4050108@vmware.com

 · 

reply

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: Regression tests for deprecated functions
  In-Reply-To: <532A3327.4050108@vmware.com>
  References: <CAB7nPqQhgESjM=F95hNaq7mMULT_CjdrG7Yi9iArHbFzriUkYg@mail.gmail.com> <532A3327.4050108@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