agora inbox for pgsql-docs@postgresql.org
help / color / mirror / Atom feedFrom: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: o15611@gmail.com
Subject: parameter log_connections can not be changed at session start
Date: Sat, 01 Mar 2025 15:25:24 +0000
Message-ID: <174084272409.674.11017551444105641709@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/17/bug-reporting.html
Description:
Parameter: log_connections.
"Only superusers and users with the appropriate SET privilege can change
this parameter at session start, and it cannot be changed at all within a
session."
Parameter can not be changed at session start. May be it "may" be changed,
but without an any effect.
Testcase:
export PGOPTIONS="-c log_connections=on -c work_mem=5MB"
psql -h 127.0.0.1 -c "show work_mem;"
Then check the log, for example:
tail $PGDATA/log/postgresql-*
The same time, the similar parameter log_disconnections can be changed at
the session start as correctly descibed in documentation. This can be easily
checked by:
export PGOPTIONS="-c log_disconnections=on"
Message-ID: <174084272409.674.11017551444105641709@wrigleys.postgresql.org>
Permalink: ../174084272409.674.11017551444105641709@wrigleys.postgresql.org/
Also on: postgresql.org/message-id/174084272409.674.11017551444105641709@wrigleys.postgresql.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, o15611@gmail.com
Subject: Re: parameter log_connections can not be changed at session start
In-Reply-To: <174084272409.674.11017551444105641709@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox