Re: [PATCHES] guc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Liam Stewart <liams(at)redhat(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] guc
Date: 2002-01-18 17:19:59
Message-ID: 7768.1011374399@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Liam Stewart <liams(at)redhat(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-01-18 18:30:43 Re: 7.2b5 notes
Previous Message Tom Lane 2002-01-18 17:15:51 Re: Bug in pg_dump/restore -o

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-01-20 05:02:59 Re: OOPS! Bad libpq patch last time..
Previous Message Liam Stewart 2002-01-18 17:00:59 Re: [PATCHES] guc