Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bykg3-000273-Mm for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 19:12:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bykg3-0001hI-9N for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 19:12:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bykg2-0001gh-05 for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 19:12:54 +0000 Received: from tamriel.snowman.net ([72.66.115.51]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bykfw-0007vv-QC for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 19:12:53 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id CF7635F799; Mon, 24 Oct 2016 15:11:45 -0400 (EDT) Date: Mon, 24 Oct 2016 15:11:45 -0400 From: Stephen Frost 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: <20161024191145.GQ13284@tamriel.snowman.net> References: <20161024183103.ugxrswzoft64x2mr@alvherre.pgsql> <17167.1477335799@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Bh7Ww8+ySWB8aeSQ" Content-Disposition: inline In-Reply-To: <17167.1477335799@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-91-generic (x86_64) X-Uptime: 15:11:15 up 107 days, 20:35, 22 users, load average: 0.16, 0.15, 0.11 User-Agent: Mutt/1.5.21 (2010-09-15) 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 --Bh7Ww8+ySWB8aeSQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Tom Lane (tgl@sss.pgh.pa.us) 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 us= ed... >=20 > > I think some c99 features would be nice (variadic macros for one), but > > those particular two get a big "meh" from me. >=20 > 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 > 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. Thanks! Stephen --Bh7Ww8+ySWB8aeSQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJYDlzxAAoJEO1sijiDR2RV/0IP/RZc48XXJHTudZdbBDtU5a0f zkffEhUiSsjTdS+dFWmkT/aPILfBBWohdCJ5t6Qu6sCZeZHH4rMdaBmaz74mvf6W 67De1ZYEBGxhP3mVzhi1+zf9EiY0laVbyV8Zou2Cb4sw6IzsQTigB129sKDj1PLR +J7n3jrB2cElvb/mIIj2TY65WGXuAkmtg61sarTvzTVOoKMwh78CQ3nQi5U+ULTp KXRuR7fS/MweQHn5bHgSlHNFVMzhzbeB34HNFWEVNeVk5bKHLFTaIVzFuaoG6VDs gJRKgXIBEFOiF2Fsn/UXyDdClUom/A88u9iMSMCKYrTFSupc2FjHhvEjKxChx4ca mCdXC9Ocum/z5r4kivCL0pthG5Cda6d04PzYKx3yflXZy5jvWWmp3BXkkp2rLLPF 85S2tjJNx9K/PNCATuBbAYACwRtO7Bp4vAsjbGTqErsnxrinh/Sj5Gcp1w9HZwhg 4P16JSzGsJd48Ya9+S54cEt+mjB3iMxc9ojvVyMC4o/ohhdqDsutLAd2RAZyzm+g M88O9TpGjESJcemJKC3VvHTnQg3YXdJhzdcVOOU/JB7/1PD5it53ExBiyWS4/DiC Y9fG66RrwHLQFc9s5hbfPbLrSX9c2uPiGLoB9cLmzqU0RwoIup3k/DwKj/fTk5c7 4TidXbxz7I3oVkr8ZBfY =84xM -----END PGP SIGNATURE----- --Bh7Ww8+ySWB8aeSQ--