BUG #2496: Troubles with fixed-point types (NUMERIC, DECIMAL,...)

From: "Heinz-Peter Heidinger" <hph(at)comserve-it-services(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2496: Troubles with fixed-point types (NUMERIC, DECIMAL,...)
Date: 2006-06-24 07:44:39
Message-ID: 200606240744.k5O7id6K024438@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2496
Logged by: Heinz-Peter Heidinger
Email address: hph(at)comserve-it-services(dot)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;

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2006-06-24 11:45:01 Re: BUG #2493: bug with initdb under an administrator
Previous Message Tom Lane 2006-06-24 03:32:05 Re: BUG #2495: -i start up option blows pg_ctl program.