Skip to content
Snippets Groups Projects
Commit b4d615aa authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

doc: Update note about source code formatting

Update the note about why not to use // comments, even though it's now
technically supported.

The note about variable declarations was dropped here because it's
addressed more properly later in the chapter.

Discussion: https://www.postgresql.org/message-id/flat/156924954640.1117.6309209869705522549%40wrigleys.postgresql.org
parent 66e0ea75
No related branches found
No related tags found
No related merge requests found
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
</para> </para>
<para> <para>
Do not use C++ style comments (<literal>//</literal> comments). Strict ANSI C To maintain a consistent coding style, do not use C++ style comments
compilers do not accept them. For the same reason, do not use C++ (<literal>//</literal> comments). <application>pgindent</application>
extensions such as declaring new variables mid-block. will replace them with <literal>/* ... */</literal>.
</para> </para>
<para> <para>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment