summaryrefslogtreecommitdiff
path: root/src/test/ssl/t/SSL
diff options
context:
space:
mode:
authorMelanie Plageman2025-05-22 21:14:54 +0000
committerMelanie Plageman2025-05-22 21:14:54 +0000
commitcb1456423d3925f9c70a488b58f03f186561f00f (patch)
tree1db4af02043f1a28fed754713d963cfa0b98c540 /src/test/ssl/t/SSL
parentd376ab570ef95f2eae13a77cbd9ba21383f195f7 (diff)
Replace deprecated log_connections values in docs and tests
9219093cab2607f modularized log_connections output to allow more granular control over which aspects of connection establishment are logged. It converted the boolean log_connections GUC into a list of strings and deprecated previously supported boolean-like values on, off, true, false, 1, 0, yes, and no. Those values still work, but they are supported mainly for backwards compatability. As such, documented examples of log_connections should not use these deprecated values. Update references in the docs to deprecated log_connections values. Many of the tests use log_connections. This commit also updates the tests to use the new values of log_connections. In some of the tests, the updated log_connections value covers a narrower set of aspects (e.g. the 'authentication' aspect in the tests in src/test/authentication and the 'receipt' aspect in src/test/postmaster). In other cases, the new value for log_connections is a superset of the previous included aspects (e.g. 'all' in src/test/kerberos/t/001_auth.pl). Reported-by: Peter Eisentraut <[email protected]> Author: Melanie Plageman <[email protected]> Reviewed-by: Peter Eisentraut <[email protected]> Reviewed-by: Jacob Champion <[email protected]> Discussion: https://postgr.es/m/e1586594-3b69-4aea-87ce-73a7488cdc97%40eisentraut.org
Diffstat (limited to 'src/test/ssl/t/SSL')
-rw-r--r--src/test/ssl/t/SSL/Server.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ssl/t/SSL/Server.pm b/src/test/ssl/t/SSL/Server.pm
index 33975b28e8c..96f0f201e9c 100644
--- a/src/test/ssl/t/SSL/Server.pm
+++ b/src/test/ssl/t/SSL/Server.pm
@@ -200,7 +200,7 @@ sub configure_test_server_for_ssl
$node->append_conf(
'postgresql.conf', <<EOF
fsync=off
-log_connections=on
+log_connections=all
log_hostname=on
listen_addresses='$serverhost'
log_statement=all