Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3c41b81

Browse files
committed
docs: psql '--' comments are not passed to the server
C-style block comments are passed to the server.
1 parent 614167c commit 3c41b81

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/src/sgml/ref/psql-ref.sgml

+6
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,12 @@ testdb=>
679679
<xref linkend="SQL-LISTEN"> and
680680
<xref linkend="SQL-NOTIFY">.
681681
</para>
682+
683+
<para>
684+
While C-style block comments are passed to the server for
685+
processing and removal, SQL-standard comments are removed by
686+
<application>psql</application>.
687+
</para>
682688
</refsect2>
683689

684690
<refsect2 id="APP-PSQL-meta-commands">

0 commit comments

Comments
 (0)