summaryrefslogtreecommitdiff
path: root/src/backend/tcop/utility.c
diff options
context:
space:
mode:
authorDaniel Gustafsson2025-11-12 11:37:40 +0000
committerDaniel Gustafsson2025-11-12 11:37:40 +0000
commit9122ff65a1be0fe4d55a34c6d6f7403209f326aa (patch)
tree05a72e9c842abe76afe7b8ff0b96449eb81b1089 /src/backend/tcop/utility.c
parent78aae2983091c30e4ddc801c507c17a77b6b1b58 (diff)
libpq: threadsafety for SSL certificate callbackHEADmaster
In order to make the errorhandling code in backend libpq be thread- safe the global variable used by the certificate verification call- back need to be replaced with passing private data. This moves the threadsafety needle a little but forwards, the call to strerror_r also needs to be replaced with the error buffer made thread local. This is left as future work for when add the thread primitives required for this to the tree. Author: Daniel Gustafsson <[email protected]> Reviewed-by: Peter Eisentraut <[email protected]> Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/tcop/utility.c')
0 files changed, 0 insertions, 0 deletions