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

Поиск
Список
Период
Сортировка
От Heinz-Peter Heidinger
Тема BUG #2496: Troubles with fixed-point types (NUMERIC, DECIMAL,...)
Дата
Msg-id 200606240744.k5O7id6K024438@wwwmaster.postgresql.org
обсуждение исходный текст
Список pgsql-bugs
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;

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #2495: -i start up option blows pg_ctl program.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2495: -i start up option blows pg_ctl program.