mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
doc: improve ALTER SYSTEM description of value list quoting
Reported-by: splarv@ya.ru Discussion: https://postgr.es/m/167105927893.1897.13227723035830709578@wrigleys.postgresql.org Backpatch-through: 11
This commit is contained in:
parent
83981bcbac
commit
664f308171
@ -21,7 +21,7 @@ PostgreSQL documentation
|
|||||||
|
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
<synopsis>
|
<synopsis>
|
||||||
ALTER SYSTEM SET <replaceable class="parameter">configuration_parameter</replaceable> { TO | = } { <replaceable class="parameter">value</replaceable> | '<replaceable class="parameter">value</replaceable>' | DEFAULT }
|
ALTER SYSTEM SET <replaceable class="parameter">configuration_parameter</replaceable> { TO | = } { <replaceable class="parameter">value</replaceable> [, ...] | DEFAULT }
|
||||||
|
|
||||||
ALTER SYSTEM RESET <replaceable class="parameter">configuration_parameter</replaceable>
|
ALTER SYSTEM RESET <replaceable class="parameter">configuration_parameter</replaceable>
|
||||||
ALTER SYSTEM RESET ALL
|
ALTER SYSTEM RESET ALL
|
||||||
@ -83,9 +83,17 @@ ALTER SYSTEM RESET ALL
|
|||||||
New value of the parameter. Values can be specified as string
|
New value of the parameter. Values can be specified as string
|
||||||
constants, identifiers, numbers, or comma-separated lists of
|
constants, identifiers, numbers, or comma-separated lists of
|
||||||
these, as appropriate for the particular parameter.
|
these, as appropriate for the particular parameter.
|
||||||
|
Values that are neither numbers nor valid identifiers must be quoted.
|
||||||
<literal>DEFAULT</literal> can be written to specify removing the
|
<literal>DEFAULT</literal> can be written to specify removing the
|
||||||
parameter and its value from <filename>postgresql.auto.conf</filename>.
|
parameter and its value from <filename>postgresql.auto.conf</filename>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
For some list-accepting parameters, quoted values will produce
|
||||||
|
double-quoted output to preserve whitespace and commas; for others,
|
||||||
|
double-quotes must be used inside single-quoted strings to get
|
||||||
|
this effect.
|
||||||
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user