mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 00:02:04 -04: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:
parent
e09fff7c98
commit
6ae387eb63
@ -165,7 +165,7 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="parameter">value</replac
|
||||
<varlistentry>
|
||||
<term><literal>NAMES</literal></term>
|
||||
<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>.
|
||||
</para>
|
||||
</listitem>
|
||||
|
Loading…
x
Reference in New Issue
Block a user