Unix Technical Forum

Problem with 8.2.x MSM ODBC drivers in Windows

This is a discussion on Problem with 8.2.x MSM ODBC drivers in Windows within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Hello all, This problem seems very weird unless the MSI and MSM drivers are build differently and/or separately. Starting ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 05:19 PM
Adam M
 
Posts: n/a
Default Problem with 8.2.x MSM ODBC drivers in Windows

Hello all,

This problem seems very weird unless the MSI and MSM drivers are build
differently and/or separately. Starting with the 8.2.x branch of MSM
drivers, the date data they return seems to be incorrect. Using the
latest 8.1.x MSM driver, and the application works again correctly.
When I use the MSI driver, it works correctly as well.

The error seems to occur when I have more than 1 date field returned
in a row where the later is NULL. For example,

date_a = '2007-01-01'
date_b = NULL
date_c = NULL

The application seems to think that date_b and date_c are
'2007-01-01'. If the scenario is,

date_a = '2000-01-01'
date_b = '2001-01-01'
date_c = NULL

date_c will be '2001-01-01'

or,

date_a = '2000-01-01'
date_b = date_c = NULL

the last two will be set to the first date.


Now, this is all just preliminary as the application is Qt 3.x based
so there are many layers to unravel or at least to write a C based
ODBC test case. I'll do that over the weekend, but in the mean time I
am wandering if this behaviour was seen by anyone else?

- Adam

PS. All MSI deployed ODBC drivers work correctly. MSM drivers prior to
8.2.x work correctly as well... This actually cased a lot of confusion
for myself as I believed the two drivers just have a different
installer but are the same binaries...

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:33 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com