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:25:03 +0200 |
commit | c53016860b8e9c7d511efa86d6368456340343f5 (patch) | |
tree | f5d6e6fb22088ca136e71b741cea17e1c26e8daa /contrib/postgres_fdw/sql/postgres_fdw.sql | |
parent | 1091f8e0a48bf934e73260501799ce49405c67cf (diff) |
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 'contrib/postgres_fdw/sql/postgres_fdw.sql')
0 files changed, 0 insertions, 0 deletions