From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1001827 ] Error when updating a TIMESTAMP column with NULL using ADODB
Date: Wed, 21 Mar 2007 09:52:50 +0000 (UTC)
Message-ID: <20070321095250.E9985217306@pgfoundry.org> (raw)
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: 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
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: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1001827 ] Error when updating a TIMESTAMP column with NULL using ADODB
In-Reply-To: <20070321095250.E9985217306@pgfoundry.org>
References: <20070321095250.E9985217306@pgfoundry.org>
* 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