Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 7B78D9FB713 for ; Wed, 21 Mar 2007 21:18:49 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 66206-05 for ; Wed, 21 Mar 2007 21:18:44 -0300 (ADT) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 04D6C9FB702 for ; Wed, 21 Mar 2007 21:18:49 -0300 (ADT) Received: from localhost (unknown [200.46.204.184]) by pgfoundry.org (Postfix) with ESMTP id 29A8E2173D3; Thu, 22 Mar 2007 00:18:49 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 68699-07; Wed, 21 Mar 2007 21:18:38 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 80) id 6FC88217317; Thu, 22 Mar 2007 00:18:43 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1001827 ] Error when updating a TIMESTAMP column with NULL using ADODB Content-type: text/plain; charset=UTF-8 Message-Id: <20070322001843.6FC88217317@pgfoundry.org> Date: Thu, 22 Mar 2007 00:18:43 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/100 X-Sequence-Number: 8778 Bugs item #1001827, was opened at 2007-02-05 15:10 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1001827&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Error when updating a TIMESTAMP column with NULL using ADODB Initial Comment: We are having problems setting TIMESTAMP fields to "Null" using ADODB (from Visual Basic 6) The attached example doesn't work, it reports an invalid date/time-value. Setting the field to "null" with an SQL-statement works ("update ..."). It doesn't work with 08_02_0200's Unicode version. The ANSI version works as expected. The server is running under Linux in version 8.2.0, the clients are running under Windows XP SP2. ---------------------------------------------------------------------- >Comment By: Hiroshi Inoue (hinoue) Date: 2007-03-22 00:18 Message: Hmm it works here. Could you attach the Mylog output ? regards, Hiroshi Inoue ---------------------------------------------------------------------- Comment By: Nobody (None) Date: 2007-03-21 09:52 Message: I just downloaded the new drivers (2007-03-21) and repeated the test. Now I get an error "-2147217887". I'll try to translate the error message: "Error in a OLE DB action that consists of multiple steps.". The error occurs when the test application tries to set the field value ("objRs.Fields(txtTableCol.Text) = Null"). ---------------------------------------------------------------------- Comment By: Hiroshi Inoue (hinoue) Date: 2007-02-09 07:44 Message: PLease try the snapshot dll at http://www.geocities.jp/inocchichichi/psqlodbc/index.html . regards Hiroshi Inoue ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1001827&group_id=1000125