pgsql: Reject non-ASCII locale names.

2024-10-04 Thread Thomas Munro
Reject non-ASCII locale names. Commit bf03cfd1 started scanning all available BCP 47 locale names on Windows. This caused an abort/crash in the Windows runtime library if the default locale name contained non-ASCII characters, because of our use of the setlocale() save/restore pattern with "char"

pgsql: Reject non-ASCII locale names.

2024-10-04 Thread Thomas Munro
Reject non-ASCII locale names. Commit bf03cfd1 started scanning all available BCP 47 locale names on Windows. This caused an abort/crash in the Windows runtime library if the default locale name contained non-ASCII characters, because of our use of the setlocale() save/restore pattern with "char"

pgsql: Reject non-ASCII locale names.

2024-10-04 Thread Thomas Munro
Reject non-ASCII locale names. Commit bf03cfd1 started scanning all available BCP 47 locale names on Windows. This caused an abort/crash in the Windows runtime library if the default locale name contained non-ASCII characters, because of our use of the setlocale() save/restore pattern with "char"