diff options
author | Melanie Plageman <melanieplageman@gmail.com> | 2025-03-12 11:33:01 -0400 |
---|---|---|
committer | Melanie Plageman <melanieplageman@gmail.com> | 2025-03-12 11:35:21 -0400 |
commit | 9219093cab2607f34ac70612a65430a9c519157f (patch) | |
tree | e245b0dc191564005192cc596173187ec595ad3e /src/backend/tcop/postgres.c | |
parent | f554a95379a9adef233d21b1e1e8981a8f5f8de3 (diff) | |
download | postgresql-9219093cab2607f34ac70612a65430a9c519157f.tar.gz postgresql-9219093cab2607f34ac70612a65430a9c519157f.zip |
Modularize log_connections output
Convert the boolean log_connections GUC into a list GUC comprised of the
connection aspects to log.
This gives users more control over the volume and kind of connection
logging.
The current log_connections options are 'receipt', 'authentication', and
'authorization'. The empty string disables all connection logging. 'all'
enables all available connection logging.
For backwards compatibility, the most common values for the
log_connections boolean are still supported (on, off, 1, 0, true, false,
yes, no). Note that previously supported substrings of on, off, true,
false, yes, and no are no longer supported.
Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@oss.nttdata.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/flat/CAAKRu_b_smAHK0ZjrnL5GRxnAVWujEXQWpLXYzGbmpcZd3nLYw%40mail.gmail.com
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions