Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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,...)

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.

Platforms: Linux & WinXP
DBdriver: JDBC3
DBMS: PostgreSQL V8.x (8.0.3)
OO: OOo V2.0 DE, StarOffice7 & 8

Table definition by DDL:
    id serial NOT NULL,
    price numeric(5,2),
    payed bool,
    CONSTRAINT test_pkey PRIMARY KEY (id)


pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group