postgresql/src
Peter Eisentraut 821fbd63ea libpq: Use strerror_r instead of strerror
Commit 453c468737 introduced a use of strerror() into libpq, but that
is not thread-safe.  Fix by using strerror_r() instead.

In passing, update some of the code comments added by 453c468737, as
we have learned more about the reason for the change in OpenSSL that
started this.

Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: Discussion: https://postgr.es/m/b6fb018b-f05c-4afd-abd3-318c649faf18@highgo.ca
2024-07-28 10:19:57 +02:00
..
backend libpq: Use strerror_r instead of strerror 2024-07-28 10:19:57 +02:00
bin Wait for WAL summarization to catch up before creating .partial file. 2024-07-26 14:51:10 -04:00
common Typo fix 2024-07-08 22:12:42 +09:00
fe_utils Fix PL/pgSQL's handling of integer ranges containing underscores. 2024-06-04 11:48:01 +01:00
include Wait for WAL summarization to catch up before creating .partial file. 2024-07-26 14:51:10 -04:00
interfaces libpq: Use strerror_r instead of strerror 2024-07-28 10:19:57 +02:00
makefiles Optimize pg_popcount() with AVX-512 instructions. 2024-04-06 21:56:23 -05:00
pl Doc: improve description of plpgsql's FETCH and MOVE commands. 2024-07-22 19:43:27 -04:00
port Pre-beta mechanical code beautification. 2024-05-14 16:34:50 -04:00
template Remove AIX support 2024-02-28 15:17:23 +04:00
test SQL/JSON: Respect OMIT QUOTES when RETURNING domains over jsonb 2024-07-26 16:36:10 +09:00
timezone Update time zone data files to tzdata release 2024a. 2024-02-01 15:57:53 -05:00
tools ci: Pin MacPorts version to 2.9.3. 2024-07-25 14:48:18 +12:00
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Update Unicode data to CLDR 45 2024-04-22 09:16:33 +02:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00