Re: Floating-point timestamps versus Range Types - Mailing list pgsql-hackers

From James Cloos
Subject Re: Floating-point timestamps versus Range Types
Date
Msg-id m3aam2ui1o.fsf@jhcloos.com
Whole thread Raw
In response to Re: Floating-point timestamps versus Range Types  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Floating-point timestamps versus Range Types
List pgsql-hackers
>>>>> "TL" == Tom Lane <tgl@sss.pgh.pa.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?

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: add label to enum syntax
Next
From: Robert Haas
Date:
Subject: Re: ask for review of MERGE