From: Petr Jelinek <petr@2ndquadrant.com>
To: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Remove extra comma at end of enum list
Date: Mon, 24 Oct 2016 22:53:27 +0200
Message-ID: <93404aed-5163-9844-2f47-d739e674ec82@2ndquadrant.com> (raw)
In-Reply-To: <20161024191145.GQ13284@tamriel.snowman.net>
References: <20161024183103.ugxrswzoft64x2mr@alvherre.pgsql>
<17167.1477335799@sss.pgh.pa.us>
<20161024191145.GQ13284@tamriel.snowman.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On 24/10/16 21:11, Stephen Frost wrote:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
>>> Fabien COELHO wrote:
>>>> I find it annoying that "//" comments are not supported, or having to
>>>> declare variables at the beginning of a block instead of when first used...
>>
>>> I think some c99 features would be nice (variadic macros for one), but
>>> those particular two get a big "meh" from me.
>>
>> Yeah. Personally, I'd want to continue the rule against // comments just
>> as a matter of maintaining stylistic consistency. Code that's got a
>> random mishmash of // and /* comments looks messy, if you ask me.
>
> +1
>
+1
>> An alternative that would be worth considering is to adopt a uniform
>> rule of // for line-ending comments and /* for all other uses. We'd
>> have to teach pgindent about that, and I dunno how hard that is.
>
> I'm not sure it's worth the resulting mess.
>
I think the current commenting style stylistically nicer.
--
Petr Jelinek http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: petr@2ndquadrant.com, sfrost@snowman.net, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, coelho@cri.ensmp.fr, michael.paquier@gmail.com, magnus@hagander.net, pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Remove extra comma at end of enum list
In-Reply-To: <93404aed-5163-9844-2f47-d739e674ec82@2ndquadrant.com>
References: <20161024183103.ugxrswzoft64x2mr@alvherre.pgsql> <17167.1477335799@sss.pgh.pa.us> <20161024191145.GQ13284@tamriel.snowman.net> <93404aed-5163-9844-2f47-d739e674ec82@2ndquadrant.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