Re: pg_dump and psql disagree on numerical precision (powerpc)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump and psql disagree on numerical precision (powerpc)
Дата
Msg-id 22424.1068827107@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_dump and psql disagree on numerical precision (powerpc)  (Christof Petig <christof@petig-baender.de>)
Ответы Re: pg_dump and psql disagree on numerical precision (powerpc)
Список pgsql-bugs
Christof Petig <christof@petig-baender.de> writes:
> Commenting out "set extra_float_digits=2" in pg_dump.c gives me the old
> behaviour. Is it only me wishing for a command line parameter for
> pg_dump to set desired precision?

It seems to me that you should be using type NUMERIC if you think there
is a difference between 0.3 and 0.29999999999999999.

            regards, tom lane

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

Предыдущее
От: Christof Petig
Дата:
Сообщение: Re: pg_dump and psql disagree on numerical precision (powerpc)
Следующее
От: Christof Petig
Дата:
Сообщение: Re: pg_dump and psql disagree on numerical precision (powerpc)