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

Lines changed: 6 additions & 0 deletions
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)
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