Content-Length: 257753 | pFad | http://github.com/postgrespro/postgres/commit/6ae387eb6334e71c94347b50b711b6750ef71b50

BD doc: Quote value in SET NAMES documentation · postgrespro/postgres@6ae387e · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/6ae387eb6334e71c94347b50b711b6750ef71b50

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy