doc: Quote value in SET NAMES documentation
authorDaniel Gustafsson
Mon, 7 Oct 2024 09:50:39 +0000 (11:50 +0200)
committerDaniel Gustafsson
Mon, 7 Oct 2024 09:50:39 +0000 (11:50 +0200)
The value passed to SET NAMES should be wrapped in single quotes.

Reported-by: jian he
Discussion: https://postgr.es/m/CACJufxG3EoUsbX4ZoMFkWrvBJcSCbPjdpRvPhuQN65fADc3mFg@mail.gmail.com

doc/src/sgml/ref/set.sgml

index f0e6047e0b1179825e8e73a882d296d534bb3445..2218f54682ec32038ae1a072ce656a9ff51ccaee 100644 (file)
@@ -165,7 +165,7 @@ SET [ SESSION | LOCAL ] TIME ZONE { value
     
      NAMES
      
-      SET NAMES value is an alias for
+      SET NAMES 'value' is an alias for
        SET client_encoding TO value.