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 <pe...@eisentraut.org> Author: Melanie Plageman <melanieplage...@gmail.com> Reviewed-by: Peter Eisentraut <pe...@eisentraut.org> Reviewed-by: Jacob Champion <jacob.champ...@enterprisedb.com> Discussion: https://postgr.es/m/e1586594-3b69-4aea-87ce-73a7488cdc97%40eisentraut.org Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/cb1456423d3925f9c70a488b58f03f186561f00f Modified Files -------------- doc/src/sgml/config.sgml | 4 ++-- src/backend/tcop/postgres.c | 2 +- src/interfaces/libpq/t/005_negotiate_encryption.pl | 2 +- src/test/authentication/t/003_peer.pl | 2 +- src/test/authentication/t/005_sspi.pl | 2 +- src/test/authentication/t/007_pre_auth.pl | 2 +- src/test/kerberos/t/001_auth.pl | 2 +- src/test/ldap/t/001_auth.pl | 2 +- src/test/ldap/t/002_bindpasswd.pl | 2 +- src/test/modules/ldap_password_func/t/001_mutated_bindpasswd.pl | 3 ++- src/test/modules/oauth_validator/t/001_server.pl | 2 +- src/test/modules/oauth_validator/t/002_client.pl | 2 +- src/test/postmaster/t/002_connection_limits.pl | 3 ++- src/test/postmaster/t/003_start_stop.pl | 3 ++- src/test/recovery/t/013_crash_restart.pl | 2 +- src/test/recovery/t/022_crash_temp_files.pl | 2 +- src/test/recovery/t/032_relfilenode_reuse.pl | 2 +- src/test/recovery/t/037_invalid_database.pl | 2 +- src/test/ssl/t/SSL/Server.pm | 2 +- src/tools/ci/pg_ci_base.conf | 2 +- 20 files changed, 24 insertions(+), 21 deletions(-)