Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit49e36e7

Browse files
committed
doc: Update note about source code formatting
Update the note about why not to use // comments, even though it's nowtechnically supported.The note about variable declarations was dropped here because it'saddressed more properly later in the chapter.Discussion:https://www.postgresql.org/message-id/flat/156924954640.1117.6309209869705522549%40wrigleys.postgresql.org
1 parenta083657 commit49e36e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/src/sgml/sources.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
</para>
2727

2828
<para>
29-
Donot use C++ style comments (<literal>//</literal> comments). Strict ANSI C
30-
compilers do not accept them.For the same reason, do not use C++
31-
extensions such as declaring new variables mid-block.
29+
To maintain a consistent coding style, donot use C++ style comments
30+
(<literal>//</literal> comments).<application>pgindent</application>
31+
will replace them with <literal>/* ... */</literal>.
3232
</para>
3333

3434
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp