On 2020-Feb-27, Michael Paquier wrote:
> Now looking at the code of OpenBSD there could be an
> alternative: using a string longer than 256 characters if I read
> lib/libc/locale/setlocale.c correctly, but I'd rather not rely on
> that.
That seems awfully fragile. Belated +1 for not relying on that :-)
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services