Re: On non-Windows, hard depend on uselocale(3) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: On non-Windows, hard depend on uselocale(3)
Date
Msg-id 1155474.1700433384@sss.pgh.pa.us
Whole thread Raw
In response to Re: On non-Windows, hard depend on uselocale(3)  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: On non-Windows, hard depend on uselocale(3)
List pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> BTW is this comment in snprintf.c true?

>  * 1. No locale support: the radix character is always '.' and the '
>  * (single quote) format flag is ignored.

> It is in the backend but only because we nail down LC_NUMERIC early
> on, not because of any property of snprintf.c, no?

Hmm, the second part of it is true.  But given that we punt float
formatting to libc, I think you are right that the first part
depends on LC_NUMERIC being frozen.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: On non-Windows, hard depend on uselocale(3)
Next
From: Jeff Davis
Date:
Subject: Re: Change GUC hashtable to use simplehash?