pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michael Paquier <michael.paquier@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Alvaro Herrera <alvherre@2ndquadrant.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 21:34:14 -0400
Message-ID: <ba1bf958-d039-88c9-754f-96be0a0d6be0@2ndquadrant.com> (raw)
In-Reply-To: <CAB7nPqRkc_82HB8o4GOhxTu1EceDueQs1uR3_AR-rwwjsQxTqA@mail.gmail.com>
References: <20161024183103.ugxrswzoft64x2mr@alvherre.pgsql>
	<17167.1477335799@sss.pgh.pa.us>
	<alpine.DEB.2.20.1610242228440.20001@lancre>
	<2195.1477346393@sss.pgh.pa.us>
	<CAB7nPqRkc_82HB8o4GOhxTu1EceDueQs1uR3_AR-rwwjsQxTqA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 10/24/16 8:37 PM, Michael Paquier wrote:
> Well... Coming back to the subject, are there any recommendations from
> committers? -std=c89 in CFLAGS does not seem to help much to detect
> extra commas in enums, even if this has been added in C99.

The only option that gives you a warning for this is -pedantic, and
that's not going to work because it disabled a bunch of other stuff.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, 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



view thread (16+ messages)  latest in thread

Message-ID: <ba1bf958-d039-88c9-754f-96be0a0d6be0@2ndquadrant.com>
Permalink:  ../ba1bf958-d039-88c9-754f-96be0a0d6be0@2ndquadrant.com/
Also on:    postgresql.org/message-id/ba1bf958-d039-88c9-754f-96be0a0d6be0@2ndquadrant.com

 · 

reply

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: peter.eisentraut@2ndquadrant.com, michael.paquier@gmail.com, tgl@sss.pgh.pa.us, coelho@cri.ensmp.fr, alvherre@2ndquadrant.com, magnus@hagander.net, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Remove extra comma at end of enum list
  In-Reply-To: <ba1bf958-d039-88c9-754f-96be0a0d6be0@2ndquadrant.com>
  References: <20161024183103.ugxrswzoft64x2mr@alvherre.pgsql> <17167.1477335799@sss.pgh.pa.us> <alpine.DEB.2.20.1610242228440.20001@lancre> <2195.1477346393@sss.pgh.pa.us> <CAB7nPqRkc_82HB8o4GOhxTu1EceDueQs1uR3_AR-rwwjsQxTqA@mail.gmail.com> <ba1bf958-d039-88c9-754f-96be0a0d6be0@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