Re: Remaining dependency on setlocale()

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Remaining dependency on setlocale()
Date: 2024-08-15 13:25:35
Message-ID: 80ca0504-61f1-42c8-b5f2-cfef07004cf4@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 15.08.24 00:43, Thomas Munro wrote:
> "" is a problem however... the special value for "native environment"
> is returned as a real locale name, which we probably still need in
> places. We could change that to newlocale("") + query instead, but

Where do we need that in the server?

It should just be initdb doing that and then initializing the server
with concrete values based on that.

I guess technically some of these GUC settings default to the
environment? But I think we could consider getting rid of that.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2024-08-15 13:28:08 Re: Opinion poll: Sending an automated email to a thread when it gets added to the commitfest
Previous Message Peter Eisentraut 2024-08-15 13:22:00 Re: Improve error message for ICU libraries if pkg-config is absent