DECIMAL NULL value

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема DECIMAL NULL value
Дата
Msg-id 200104300152.f3U1q5p23191@hub.org
обсуждение исходный текст
Ответы Re: DECIMAL NULL value  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
Xavier Bergade (xavierb@benon.com) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
DECIMAL NULL value

Long Description
Version: 7.0.3
Platform: Intel 586, 512 megs RAM

CREATE TABLE test (price DECIMAL(9,2));
INSERT INTO test VALUES ('NULL');

Will crash the backend, anytime.

It should come with a message:
ERROR:  Bad numeric input format 'NULL'

Anything instead of 'NULL' will correctly report the error without crashing.

Sample Code
CREATE TABLE test (price DECIMAL(9,2));
INSERT INTO test VALUES ('NULL');


No file was uploaded with this report

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

Предыдущее
От: Peter Mount
Дата:
Сообщение: Re:
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: DECIMAL NULL value