Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bymGr-00053K-2m for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 20:55:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bymGq-0002HK-Lk for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 20:55:00 +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 1bymFS-0000dA-LY for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 20:53:34 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bymFP-0001Nd-HD for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 20:53:34 +0000 Received: by mail-wm0-x22f.google.com with SMTP id c78so137770743wme.1 for ; Mon, 24 Oct 2016 13:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=eh8law6K3LBuSoRiAimo4P93I3ZbLSHjfCflX+hpVT0=; b=rOjQMRL81gDE8n5BMM/tG+zvORUFGbFJVlnYetzmJgViEXy6fXa7rtFmty3qNLCKug 4K7WokEWb4X6c2r/ZdXMAkZ8iGj332QA5naAlAnw5qKfHt1xC6HUpBTS0MkmxdSrwLlk Js85NEKkoYxeHaJFWI2K9sAmgFhG2qfhO0nHFlCVQmiUCs7nZqecNzq5/YHjiKZVMwxI uWwKepGuIeBXx/pJjeebP8FbSLGuBhVjA95AhTe+/yK1A4H3jiuj9mEAElsLbHOXgkZi 2az0UeZQ+JaBeAGSMVAd1pndj2gmAuVngmt94GCrEtyyqepYtqMyuf/MrdAUEMbGM5yh JX/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=eh8law6K3LBuSoRiAimo4P93I3ZbLSHjfCflX+hpVT0=; b=FGn/3W+uANL9kRmM4WPla72N6yVXiK8uECX9GeL/pV9BhgJxWESaKGBXrrHVh/DD/S KU2io0+p4XUZyQ59Y8QuKZnIjpFHOFYRpfYjSe6kNzcG9JT1WppH2UWeDIdIUv9xatSi iIBF0G7MReNk4770y5GpKM5znATER4CTYUU5qS8f/vnrRdX6SWv7w/efHWqqdrTwsYdZ BPd2aJKwOmK8aL4rx+oyJfuXFl7Uh3YaLWnlQ10Xe85DAzhzN0EGhtlI8qloocA5RIfP aRzhasDb8UrXEn2vlKk+Nq67ReIwCWeLyXlpjjLBFDPpbnlSyjhfiijr+TREoxf8KRp8 Tb2Q== X-Gm-Message-State: ABUngvfmqqJ+baTjO71LnddTFTt3ESKi6gvDSkcaboO1hISunl3pILVeH4L995so4h7ZQhWOC1L3pH2KDi+o0WAWnRtENs3jjrCnI7Ta+5VcT/naEr8j+nNj/FuC3pXqDMzeM5c2xNHtUPqctyW35hzKsjk26iJEInRELHqNSnqHqQQ5zmqVSV/WwZBcZX/v8A== X-Received: by 10.194.141.233 with SMTP id rr9mr12846212wjb.18.1477342409646; Mon, 24 Oct 2016 13:53:29 -0700 (PDT) Received: from [192.168.0.105] (150.123.broadband11.iol.cz. [90.178.123.150]) by smtp.gmail.com with ESMTPSA id hb5sm21228374wjc.5.2016.10.24.13.53.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Oct 2016 13:53:28 -0700 (PDT) Subject: Re: [COMMITTERS] pgsql: Remove extra comma at end of enum list To: Stephen Frost , Tom Lane References: <20161024183103.ugxrswzoft64x2mr@alvherre.pgsql> <17167.1477335799@sss.pgh.pa.us> <20161024191145.GQ13284@tamriel.snowman.net> Cc: Alvaro Herrera , Fabien COELHO , Michael Paquier , Magnus Hagander , PostgreSQL mailing lists From: Petr Jelinek Message-ID: <93404aed-5163-9844-2f47-d739e674ec82@2ndquadrant.com> Date: Mon, 24 Oct 2016 22:53:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161024191145.GQ13284@tamriel.snowman.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.6 (--) 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 24/10/16 21:11, Stephen Frost wrote: > * 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 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. > > +1 > +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. > I think the current commenting style stylistically nicer. -- Petr Jelinek http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, 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