From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | James Cloos <cloos(at)jhcloos(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, Jeff Davis <pgsql(at)j-davis(dot)com> |
Subject: | Re: Floating-point timestamps versus Range Types |
Date: | 2010-10-25 21:01:08 |
Message-ID: | AANLkTi=dxSBGu1akSTRP-bZPS8-4kDSCw6y44HewmS5r@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Oct 25, 2010 at 4:35 PM, James Cloos <cloos(at)jhcloos(dot)com> wrote:
>>>>>> "TL" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>
> JC> That said, the possiblity of hex i/o format for the float datatypes
> JC> would be welcome.
>
> TL> It's unportable, for two different reasons:
>
> TL> 2. The printf specifiers you want us to rely on are not standard.
>
> They are in C99.
>
> TL> 1. pg_dump output would become platform-specific. This is highly
> TL> undesirable.
>
> It is true that pg would have to test for them in configure and supply
> alternative code wherever libc fails to support them.
>
> I can readily accept that there are many more pressing needs.
>
> But would such a patch for master be rejected?
Let me back up a few steps and ask why you want this in the first
place. If there's a real problem here, we should solve it, either in
the way you've proposed or in some other manner. But you haven't
really said what problem you're trying to solve - just that it would
be "welcome", which leaves much to my (not very good) imagination.
This is quite a bit OT for this thread so if you want to pursue this
I'd suggest starting a new thread in which you start by laying out
your case for doing this.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-10-25 22:03:27 | Re: Range Types, discrete and/or continuous |
Previous Message | Robert Haas | 2010-10-25 20:58:15 | Re: ask for review of MERGE |