Re: [PORTS] Port Bug Report: pg_dump -d database >unload.file; cat unload.file|psql database ARE NOT EQUAL

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PORTS] Port Bug Report: pg_dump -d database >unload.file; cat unload.file|psql database ARE NOT EQUAL
Дата
Msg-id 199803282052.PAA17863@candle.pha.pa.us
обсуждение исходный текст
Список pgsql-hackers
> Problem Description:
> --------------------
> Parser generated error message when script was inserting
> a value equal -1 into column of float8 type.
> If exchange -1 to -1.0 - no errors.
>
> --------------------------------------------------------------------------
>
> Test Case:
> ----------
> create table templ_arg(accii int2,type char,sign float8);
> create table a1 () inherits (templ_arg);
> insert into a1 values (9999,'a',1); -- working;
> insert into a1 values (9999,'a',-1); -- ERROR;
> insert into a1 values (9999,'a',-1.0); --working

OK, it is more compilcated that I realized.  I now see that:

    > insert into a1 values (9999,'a',1); -- working;

works but:

    > insert into a1 values (9999,'a',-1); -- ERROR;

does not.  Thomas, any idea why this would happen?


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PORTS] Port Bug Report: pg_dump -d database >unload.file; cat unload.file|psql database ARE NOT EQUAL
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PORTS] Port Bug Report: pg_dump -d database >unload.file; cat unload.file|psql database ARE NOT EQUAL