Re: Removing support for < 7.4 servers

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Daniel Homerick <daniel(dot)homerick(at)2d3sensing(dot)com>
Cc: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Removing support for < 7.4 servers
Date: 2014-03-12 02:32:29
Message-ID: CAB7nPqQn6QFvWGcG157Cya-EtotVRe68gd+4X=szry_e6ocZ6Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On Tue, Mar 11, 2014 at 1:36 AM, Daniel Homerick
<daniel(dot)homerick(at)2d3sensing(dot)com> wrote:
> It's perhaps worth noting that in the recent past (and possibly in the current release -- I haven't checked) the ANSI driver on windows was built as ODBC version 3 instead of 3.5. I raised this issue when I discovered it (see the post titled "UUID returned as SQL_VARCHAR instead of SQL_GUID, contains no data" from 10/10/2012) but I never got a response and to my knowledge it's not been changed.
>
> I don't know if there was ultimately some reason why that build needed to use the older ODBC revision, or if it's just something that was overlooked.
Interestingly, I noticed this piece of code in connection.c, which
might be a consequence of that:
rv->driver_version = ODBCVER;
#ifdef WIN32
if (VER_PLATFORM_WIN32_WINDOWS == platformId && rv->driver_version > 0x0300)
rv->driver_version = 0x0300;
#endif /* WIN32 */
The driver informs that the version it uses is 0x0300. It has been
introduced by commit 08b2a1c.
Regards,
--
Michael

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Michael Paquier 2014-03-12 04:13:50 Missing declarations in pgtypes.h
Previous Message Heikki Linnakangas 2014-03-11 16:43:16 Re: postgresql odbc windows