Thomas Munro <thomas(dot)munro(at)gmail(dot)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