Re: Ancient bug in formatting.c/to_char()

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Ancient bug in formatting.c/to_char()
Date: 2014-05-29 16:30:55
Message-ID: CAM3SWZSdkw15k3VqmMeO98yYH=pxmDWq1RJgWC3HcCAWX0rG3A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 29, 2014 at 3:09 AM, Heikki Linnakangas
<hlinnakangas(at)vmware(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2014-05-29 16:39:50 Re: [HACKERS] Re: pgsql: Fix bogus %name-prefix option syntax in all our Bison files.
Previous Message Andrew Dunstan 2014-05-29 15:23:55 Re: json/jsonb inconsistence - 2