Skip to content

Commit 6ae387e

Browse files
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
1 parent e09fff7 commit 6ae387e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/ref/set.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="parameter">value</replac
165165
<varlistentry>
166166
<term><literal>NAMES</literal></term>
167167
<listitem>
168-
<para><literal>SET NAMES <replaceable>value</replaceable></literal> is an alias for
168+
<para><literal>SET NAMES '<replaceable>value</replaceable>'</literal> is an alias for
169169
<literal>SET client_encoding TO <replaceable>value</replaceable></literal>.
170170
</para>
171171
</listitem>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy