Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bylLw-0006tD-1D for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 19:56:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bylLu-0000yq-Ut for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 19:56:10 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bylKX-0007Rl-4X for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 19:54:45 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bylHV-0006z0-J6 for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 19:51:39 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1bylHQ-00058f-Qo; Mon, 24 Oct 2016 15:51:32 -0400 Date: Mon, 24 Oct 2016 15:51:32 -0400 From: Bruce Momjian To: Tom Lane Cc: Alvaro Herrera , Fabien COELHO , Michael Paquier , Magnus Hagander , PostgreSQL mailing lists Subject: Re: [COMMITTERS] pgsql: Remove extra comma at end of enum list Message-ID: <20161024195132.GA15185@momjian.us> References: <20161024183103.ugxrswzoft64x2mr@alvherre.pgsql> <17167.1477335799@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17167.1477335799@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Mon, Oct 24, 2016 at 03:03:19PM -0400, Tom Lane wrote: > Alvaro Herrera 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. > > 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 think it would be easy to teach pg_indent. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers