Re: Ancient bug in formatting.c/to_char() - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Ancient bug in formatting.c/to_char()
Date
Msg-id CAM3SWZSdkw15k3VqmMeO98yYH=pxmDWq1RJgWC3HcCAWX0rG3A@mail.gmail.com
Whole thread Raw
In response to Re: Ancient bug in formatting.c/to_char()  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Ancient bug in formatting.c/to_char()
List pgsql-hackers
On Thu, May 29, 2014 at 3:09 AM, Heikki Linnakangas
<hlinnakangas@vmware.com> wrote:
> Yeah, the code is pretty crufty, I'm not sure what the proper fix would be.
> I wonder if psprintf would be useful.


I don't know that it's worth worrying about the case you highlight. It
is certainly worth worrying about the lack of a similar fix in
float4_to_char(), though.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: json/jsonb inconsistence - 2
Next
From: Jeff Janes
Date:
Subject: recovery testing for beta