diff options
author | Daniel Gustafsson | 2025-07-10 21:26:51 +0000 |
---|---|---|
committer | Daniel Gustafsson | 2025-07-10 21:26:51 +0000 |
commit | a6c0bf93031dac8701b8d6c1093230dc5caf190d (patch) | |
tree | 375346de20bce365b5591aa08d13b45ae1574ee4 /src/interfaces/ecpg/test/expected/sql-show.stdout | |
parent | fb6c860bbd1f798dc637c8aa8972570b84f01ad2 (diff) |
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/sql-show.stdout')
0 files changed, 0 insertions, 0 deletions