Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them.
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: andast@kth.se, pgsql-docs@lists.postgresql.org
Date: 2019-09-26T08:53:43Z
Lists: pgsql-docs
On 2019-09-25 00:13, Tom Lane wrote: > Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes: >> PostgreSQL 12 requires C99, so those guidelines should probably be >> rephrased from "because old compilers don't accept it" to "because we >> like it that way". > > Yeah, or more formally "to encourage consistent coding style". fixed -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
doc: Update note about source code formatting
- b4d615aaa1ec 12.0 landed
- 49e36e7901c6 13.0 landed