From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: splarv@ya.ru
Subject: 'value' has special behaviour in alter system
Date: Wed, 14 Dec 2022 23:07:58 +0000
Message-ID: <167105927893.1897.13227723035830709578@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/15/sql-altersystem.html
Description:
Documentation say
ALTER SYSTEM SET configuration_parameter { TO | = } { value | 'value' |
DEFAULT }
The variant 'value' has special, not obvious behaviour and must be
documented.
For instance
ALTER SYSTEM SET shared_preload_libraries TO a, b, c;
Lead to
shared_preload_libraries = 'a, b, c'
in the postgresql.auto.conf and working fine. (If a, b, c are correct
libraries.) But
ALTER SYSTEM SET shared_preload_libraries TO 'a, b, c';
Lead to
shared_preload_libraries = '"a, b, c"'
in the postgresql.auto.conf and postgresql will not even start. Without any
errors in the postgresql log files. :) In the system log will be "file not
found".
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, splarv@ya.ru
Subject: Re: 'value' has special behaviour in alter system
In-Reply-To: <167105927893.1897.13227723035830709578@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox