dbTalk Databases Forums  

[BUGS] BUG #2509: ODBC TIMESTAMP UPDATE FAILED

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2509: ODBC TIMESTAMP UPDATE FAILED in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default [BUGS] BUG #2509: ODBC TIMESTAMP UPDATE FAILED - 07-02-2006 , 08:32 PM







The following bug has been logged online:

Bug reference: 2509
Logged by: ONG JIIN ME
Email address: JM (AT) MicroTech2u (DOT) com
PostgreSQL version: 8.1.4
Operating system: WIN XP PRO SP 2
Description: ODBC TIMESTAMP UPDATE FAILED
Details:

Using adodb recordset.update to update a timestamp field failed.

TESTING STEP :
1. Using Postgresql Unicode ODBC Driver
2. Using VB6 coding as below to test
rec.open "SELECT last_modified FROM X WHERE id=1",con,3,2
rec(0) = Now
rec.update
3. Prompt "update failed... cannot find update row"

The fact is, I found that I can successfully update as specified in step 2
if I set the last_modified into null before update. However, the value of
last_modified has no "TIME", only "DATE" stored.

The second fact is, ADDNEW has no problem, only UPDATE existing record has
the problem stated.

Thank you for advance.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.