From: Anders Åstrand <andast@kth.se>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them.
Date: Mon, 30 Sep 2019 11:18:46 +0200
Message-ID: <b5072804-72f4-47f0-afbe-d5dba000164a@email.android.com> (raw)
In-Reply-To: <017eed62-8206-f2f9-a6e6-b59810b37def@2ndquadrant.com>
<div dir='auto'>Thanks for your attention! That sentence made me believe the style guide was outdated, but then I found fairly recent posts referring to it and got confused.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sep 26, 2019 10:53, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:<br type="attribution" /><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">On 2019-09-25 00:13, Tom Lane wrote: <br>
> Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes: <br>
>> PostgreSQL 12 requires C99, so those guidelines should probably be <br>
>> rephrased from "because old compilers don't accept it" to "because we <br>
>> like it that way". <br>
> <br>
> Yeah, or more formally "to encourage consistent coding style". <br>
<br>
fixed <br>
<br>
-- <br>
Peter Eisentraut http://www.2ndQuadrant.com/ <br;
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services <br>
</p>
</blockquote></div><br></div>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: andast@kth.se, peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us, pgsql-docs@lists.postgresql.org
Subject: Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them.
In-Reply-To: <b5072804-72f4-47f0-afbe-d5dba000164a@email.android.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox