Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 827E79FBD1B for ; Thu, 24 May 2007 21:16:07 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 24834-04-5 for ; Thu, 24 May 2007 21:15:57 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.226]) by postgresql.org (Postfix) with ESMTP id 173289FBE06 for ; Thu, 24 May 2007 21:16:01 -0300 (ADT) Received: by nz-out-0506.google.com with SMTP id f1so634613nzc for ; Thu, 24 May 2007 17:16:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IrVuHa96ds+MlO0Hx23IoOQ4ecqDl0lDU0+jVwKOzR0/h+rKlDGNby/mD5sr7AEaHmTbpi9QkU3MQv9wRiOZd7r1DfLpz5EqtL01rbWj/UV/BHJF+8KuAv+kIQzoAge91sz0mpN7AJ0YZxdQyQB9C2uckTjYFcU2YOszgT/ca0U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=H/KSb9K1JKyXnS7+gXTezhAp9G4rl3QYhs2uGTFSi0Ztao/c+w6gmpcqunhHAOS05jL+aOSiCEpHXwTHbysCD7XzQjGSYJF0dyDbstgzRFeizCmPNhxMtwl6FD4AsHaENHLsT1HZ4koAdbOcIfK69kAv4tbrglDnCnd1XS/FzG8= Received: by 10.115.111.1 with SMTP id o1mr1209184wam.1180052160357; Thu, 24 May 2007 17:16:00 -0700 (PDT) Received: by 10.114.208.18 with HTTP; Thu, 24 May 2007 17:16:00 -0700 (PDT) Message-ID: <84b37b360705241716i4aeccb23vcf0955bb101a928a@mail.gmail.com> Date: Thu, 24 May 2007 19:16:00 -0500 From: "Adam M" To: pgsql-odbc@postgresql.org Subject: Problem with 8.2.x MSM ODBC drivers in Windows MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/59 X-Sequence-Number: 8972 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...