The following bug has been logged online:
Bug reference: 2496
Logged by: Heinz-Peter Heidinger
Email address: hph@comserve-it-services.de
PostgreSQL version: 8.x
Operating system: all (Linux & Win was tested)
Description: Troubles with fixed-point types (NUMERIC, DECIMAL,...)
Details:
OpenOffice 1.x/2.x & StarOffice7/..8 cannot write fixed-point values
(NUMERIC|DECIMAL) to a PGSQL database when using a JDBC interface and a
desktop locale of 'german' (maybe others as well) is used.
The resulting message is:
ERROR: column <XXX> has type numeric but
expression has type character varying.
Testbed:
--------
Platforms: Linux & WinXP
DBdriver: JDBC3
DBMS: PostgreSQL V8.x (8.0.3)
OO: OOo V2.0 DE, StarOffice7 & 8
Table definition by DDL:
CREATE TABLE test
(
id serial NOT NULL,
price numeric(5,2),
payed bool,
CONSTRAINT test_pkey PRIMARY KEY (id)
)
WITH OIDS;