Revert "Tidy up locale thread safety in ECPG library."
Peter Eisentraut <peter@eisentraut.org>
Revert "Tidy up locale thread safety in ECPG library." This reverts commit 8e993bff5326b00ced137c837fce7cd1e0ecae14. It causes various build failures on the buildfarm, to be investigated. Discussion: https://postgr.es/m/CWZBBRR6YA8D.8EHMDRGLCKCD%40neon.tech
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +1 −1 |
| configure.ac | modified | +0 −2 |
| meson.build | modified | +0 −2 |
| src/include/pg_config.h.in | modified | +0 −6 |
| src/include/port.h | modified | +0 −31 |
| src/include/port/win32_port.h | modified | +0 −1 |
| src/interfaces/ecpg/ecpglib/connect.c | modified | +38 −1 |
| src/interfaces/ecpg/ecpglib/data.c | modified | +1 −1 |
| src/interfaces/ecpg/ecpglib/descriptor.c | modified | +37 −0 |
| src/interfaces/ecpg/ecpglib/ecpglib_extern.h | modified | +12 −0 |
| src/interfaces/ecpg/ecpglib/execute.c | modified | +53 −0 |
| src/interfaces/ecpg/pgtypeslib/dt_common.c | modified | +3 −3 |
| src/interfaces/ecpg/pgtypeslib/interval.c | modified | +2 −2 |
| src/interfaces/ecpg/pgtypeslib/numeric.c | modified | +1 −1 |
| src/port/locale.c | deleted | +0 −84 |
| src/port/Makefile | modified | +0 −1 |
| src/port/meson.build | modified | +0 −1 |
| src/port/snprintf.c | modified | +0 −55 |
Discussion
- On non-Windows, hard depend on uselocale(3) 49 messages · 2023-11-15 → 2026-02-04