From: Fabien COELHO <coelho@cri.ensmp.fr>
To: 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 08:36:55 +0200 (CEST)
Message-ID: <alpine.DEB.2.20.1610240824370.20001@lancre> (raw)
In-Reply-To: <CAB7nPqS4mVN-TEFdr+Qsou9HEegDDbMeTMhCG-RgOWesLTvkiA@mail.gmail.com>
References: <E1byJHP-00072R-MP@gemulon.postgresql.org>
<CAB7nPqS4mVN-TEFdr+Qsou9HEegDDbMeTMhCG-RgOWesLTvkiA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
>> C99-specific feature, and wasn't intentional in the first place.
>>
>> Per buildfarm member mylodon
>
> This is the second time I see that in the last couple of weeks. Would
> it be better to use some custom CFLAGS to detect that earlier in the
> review process? I have never much used gcc's std or clang extensions
> in this area. Has somebody any recommendations?
My 0.02€, I've used the following for years without problem, but it would
need testing with a several versions of gcc & clang before committing:
sh> gcc -std=c89/... ...
sh> clang -std=c89/... ...
And a free advice, hoping not to start a troll:
Even as conservative and old fashioned as I am, I was 18 in 1989 and had a
driving license. In 2017 C99 will also turn 18 and might be considered old
and stable enough for pg:-)
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...
--
Fabien.
--
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: 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: <alpine.DEB.2.20.1610240824370.20001@lancre>
References: <E1byJHP-00072R-MP@gemulon.postgresql.org> <CAB7nPqS4mVN-TEFdr+Qsou9HEegDDbMeTMhCG-RgOWesLTvkiA@mail.gmail.com> <alpine.DEB.2.20.1610240824370.20001@lancre>
* 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