Re: [PATCHES] guc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] guc
Дата
Msg-id 7768.1011374399@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] guc  (Liam Stewart <liams@redhat.com>)
Список pgsql-hackers
Liam Stewart <liams@redhat.com> writes:
>>> What I would like to get out of the configurability of floating-point
>>> numbers is:
>>> 1. The ability to dump them in binary or hex format for lossless
>>> dump/reload.  (printf("%a") does that.)
>> 
>> On some platforms... I'd be happier with this if it were more portable...

> Roll our own? %a and %A are C99 so are much less portable than most
> other printf conversion specifiers.

Hmm ... rolling our own might actually not be too unreasonable ...
and the lack of lossless dump/reload for floats has certainly been
a sore point for a long time, so expending some effort here is
justified.
        regards, tom lane


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

Предыдущее
От: Liam Stewart
Дата:
Сообщение: Re: [PATCHES] guc
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug in pg_dump/restore -o