BUG #2496: Troubles with fixed-point types (NUMERIC, DECIMAL,...)
В списке pgsql-bugs по дате отправления:
| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера