Re: Rounding of floating point in text dumps?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rounding of floating point in text dumps?
Дата
Msg-id 338.1222469746@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Rounding of floating point in text dumps?  (Chris Browne <cbbrowne@acm.org>)
Список pgsql-general
Chris Browne <cbbrowne@acm.org> writes:
> In the interests of personal laziness ;-), I'll throw the question to
> this list: how may we expect the imprecisions of FP affect text-based
> database dumps, if at all?

If the platform's float I/O routines conform fully to spec, you can
expect FP values to reload exactly.  We dump them with a couple of
"extra" digits of precision to make this possible.

            regards, tom lane

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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Rounding of floating point in text dumps?
Следующее
От: Ralph Smith
Дата:
Сообщение: Re: Using a User-Def function in a query