Hi, On 2023-10-10 17:08:25 -0700, Jeff Davis wrote: > On Mon, 2023-09-11 at 19:23 -0700, Andres Freund wrote: > > > So I think injecting --no-locale to the initdb line that creates > > > the > > > template is a better approach; something like the attached. > > > > Makes sense, thanks for taking care of this. > > After this, it seems "make check" no longer picks up the locale from > the system environment by default.
Yea. I wonder if the better fix would have been to copy setenv("LC_MESSAGES", "C", 1); to the initdb template creation. That afaict also fixes the issue, with a smaller blast radius? Greetings, Andres Freund