Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bykYa-00018u-EB for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 19:05: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 1bykYZ-00083s-R2 for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 19:05:11 +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 1bykXB-0004sb-0z for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 19:03:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bykX3-00061M-6j for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 19:03:43 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u9OJ3J91017168; Mon, 24 Oct 2016 15:03:19 -0400 From: Tom Lane To: Alvaro Herrera cc: Fabien COELHO , Michael Paquier , Magnus Hagander , PostgreSQL mailing lists Subject: Re: [COMMITTERS] pgsql: Remove extra comma at end of enum list In-reply-to: <20161024183103.ugxrswzoft64x2mr@alvherre.pgsql> References: <20161024183103.ugxrswzoft64x2mr@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Mon, 24 Oct 2016 15:31:03 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17166.1477335799.1@sss.pgh.pa.us> Date: Mon, 24 Oct 2016 15:03:19 -0400 Message-ID: <17167.1477335799@sss.pgh.pa.us> 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 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. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers