mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
doc: Quote value in SET NAMES documentation
The value passed to SET NAMES should be wrapped in single quotes. Reported-by: jian he <jian.universality@gmail.com> Discussion: https://postgr.es/m/CACJufxG3EoUsbX4ZoMFkWrvBJcSCbPjdpRvPhuQN65fADc3mFg@mail.gmail.com
This commit is contained in:
@ -165,7 +165,7 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="parameter">value</replac
|
|||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><literal>NAMES</literal></term>
|
<term><literal>NAMES</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><literal>SET NAMES <replaceable>value</replaceable></literal> is an alias for
|
<para><literal>SET NAMES '<replaceable>value</replaceable>'</literal> is an alias for
|
||||||
<literal>SET client_encoding TO <replaceable>value</replaceable></literal>.
|
<literal>SET client_encoding TO <replaceable>value</replaceable></literal>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
Reference in New Issue
Block a user