diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-07-28 09:12:00 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-07-28 09:26:48 +0200 |
commit | 4070489999fdc230e7cc390e2fb63cd2a87c7d97 (patch) | |
tree | 1df782d39b9d88fa3eac40a3a350c45b77c88538 /src/backend/commands/variable.c | |
parent | e6dd0b8637b3577ab710738164139cf711164527 (diff) | |
download | postgresql-4070489999fdc230e7cc390e2fb63cd2a87c7d97.tar.gz postgresql-4070489999fdc230e7cc390e2fb63cd2a87c7d97.zip |
libpq: Use strerror_r instead of strerror
Commit 453c4687377 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 453c4687377, 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
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions