summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/preproc-define.stderr
diff options
context:
space:
mode:
authorDaniel Gustafsson2025-07-10 21:26:51 +0000
committerDaniel Gustafsson2025-07-10 21:26:51 +0000
commita6c0bf93031dac8701b8d6c1093230dc5caf190d (patch)
tree375346de20bce365b5591aa08d13b45ae1574ee4 /src/interfaces/ecpg/test/expected/preproc-define.stderr
parentfb6c860bbd1f798dc637c8aa8972570b84f01ad2 (diff)
Fix sslkeylogfile error handling loggingHEADmaster
When sslkeylogfile has been set but the file fails to open in an otherwise successful connection, the log entry added to the conn object is never printed. Instead print the error on stderr for increased visibility. This is a debugging tool so using stderr for logging is appropriate. Also while there, remove the umask call in the callback as it's not useful. Issues noted by Peter Eisentraut in post-commit review, backpatch down to 18 when support for sslkeylogfile was added Author: Daniel Gustafsson <[email protected]> Reported-by: Peter Eisentraut <[email protected]> Reviewed-by: Peter Eisentraut <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 18
Diffstat (limited to 'src/interfaces/ecpg/test/expected/preproc-define.stderr')
0 files changed, 0 insertions, 0 deletions