Issue 110723 - SDBC Driver Date Problem
Summary: SDBC Driver Date Problem
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 3.2
Hardware: Other Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2010-04-09 13:12 UTC by geoff91880
Modified: 2013-07-30 02:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description geoff91880 2010-04-09 13:12:48 UTC
SDBC: 0.7.6a
PostgreSQL: 8.4.2 3.2.0 (320m12) Build: 9483

Platform: Linux Kernel (Ubuntu 10.04 Beta 2)

SDBC driver is not permitting inserts (or updates) of PostgreSQL type DATE.

For instance, update fails with the following message:

"Error updating the current record

pg_preparedstatement::setObjectWithInfo: can't convert value of
type to type DECIMAL or NUMERIC"

As far as I can tell it looks like the driver is attempting to CAST the input
value and PostgreSQL is rejecting that for the field of type DATE.
Comment 1 geoff91880 2010-04-09 19:55:22 UTC
I forgot to add that the driver being used is the x86 flavor, and the server
(x_64 architecture) is LAN accessed (through the subnet).
Comment 2 joergbudi 2010-04-18 18:05:37 UTC

I've checked linux x86 postgresql 8.4.3 as server and OOo3.2 win32 client and 
can't reproduce the problem. Can you (or someone else) do a testbuild with the 
32bit postgresql server of the same version and check, whether this problem 
occurs there as well ? If it does, it is indeed a 64bit server problem, 
actually I currently don't have a 64bit linux box, so this will be difficult 
for me to track down the problem. 

Comment 3 Rob Weir 2013-07-30 02:40:47 UTC
Reset assignee on issues not touched by assignee in more than 1000 days.