Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzjwf-0001o9-5P for pgsql-committers@arkaria.postgresql.org; Thu, 27 Oct 2016 12:38:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bzjwe-0007mb-OZ for pgsql-committers@arkaria.postgresql.org; Thu, 27 Oct 2016 12:38:08 +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 1bzjwd-0007mB-WE for pgsql-committers@postgresql.org; Thu, 27 Oct 2016 12:38:08 +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 1bzjwW-00081h-QT for pgsql-committers@postgresql.org; Thu, 27 Oct 2016 12:38:06 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1bzjwV-0002xR-Cg; Thu, 27 Oct 2016 08:37:59 -0400 Date: Thu, 27 Oct 2016 08:37:59 -0400 From: Bruce Momjian To: Tom Lane Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Properly indent postgresql.conf comments to align Message-ID: <20161027123759.GA26821@momjian.us> References: <20295.1477535036@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20295.1477535036@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On Wed, Oct 26, 2016 at 10:23:56PM -0400, Tom Lane wrote: > Bruce Momjian writes: > > Properly indent postgresql.conf comments to align > > I think "properly" here is very dependent on what you believe the > tab width is. While most of us have our editors set up for 4-space > tabs in C files, I don't think all contributors do so for text files > (I don't, for one). And the odds that the average user will be set up > to edit postgresql.conf with 4-space tabs are nil. > > I suggest that the best way out of this might be to detab > postgresql.conf.sample entirely, and ditto for our other sample > config files. We could probably set up .gitattributes to make > git complain if anyone re-introduces tabs into those files. Uh, the postgresql.conf file is full of tabs, and they all assume 8-space tabs. I was just making those few lines consistent. Not sure we want to remove all tabs though. -- 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-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers