Re: pg_dump and psql disagree on numerical precision (powerpc)
В списке pgsql-bugs по дате отправления:
| От | Christof Petig |
|---|---|
| Тема | Re: pg_dump and psql disagree on numerical precision (powerpc) |
| Дата | |
| Msg-id | 3FB4F8FE.6020209@petig-baender.de обсуждение исходный текст |
| Ответ на | Re: pg_dump and psql disagree on numerical precision (powerpc) (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: pg_dump and psql disagree on numerical precision (powerpc)
|
| Список | pgsql-bugs |
Tom Lane schrieb:
> Christof Petig <christof@petig-baender.de> writes:
>
>>COPY test (x) FROM stdin;
>>0.29999999999999999
>>\.
>
>
> This is not a bug; it's pg_dump trying to recreate the actual floating
> point value as accurately as it can. See the discussion of
> extra_float_digits from six months or a year back.
Oh, I see (and generally appreciate). Thank you for reminding me.
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?
Christof
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера