Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBknE-0004IS-D2 for pgsql-hackers@arkaria.postgresql.org; Fri, 19 May 2017 16:30:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dBknD-0004IW-Vt for pgsql-hackers@arkaria.postgresql.org; Fri, 19 May 2017 16:30:20 +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 1dBknC-0004Fc-OO for pgsql-hackers@postgresql.org; Fri, 19 May 2017 16:30:19 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dBkn5-0002cW-5b for pgsql-hackers@postgresql.org; Fri, 19 May 2017 16:30:18 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id CBC092065C; Fri, 19 May 2017 12:30:09 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Fri, 19 May 2017 12:30:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=1ShNbj+GqMSQgoSKgM FtoEnR3n4J7lw8/QaiJZ+nDlo=; b=mUA4gSLXHhG79cAZdspdCcYN6NXIoJcLQr fxvPYFIbRoVoxeGPe2TvIqgwgTJTAU8LAAgv361L698xZQpBdt+btFM5CkZON741 ZQsuFp9KfcEaz86/F3G20UBDeVcqymdxcnz38TfrP3Z2sOb4nBTJk3RYeEWas0j1 qKQrjlX6oGuoUqugnjbziXNDmr4YdSmDU/Cf39eWD2NnI0jZ77ZGr6aGqo2sHo5i VSMcni2HfB5y+V5DZ4jiR/20BMqCSmb2cNb3/blhTr68k5ywcKEH1jy0+hR/CVew yjNu7sagzrcVvfN0JuCvs+ZD/89if61r6aZryaI6lGtRmDUceoUA== X-ME-Sender: X-Sasl-enc: YEE2duhE/eDSppOu5kxvWiL1K2GNkv1wQXKg7EO8tHyn 1495211409 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id 82DF824767; Fri, 19 May 2017 12:30:09 -0400 (EDT) Date: Fri, 19 May 2017 09:30:08 -0700 From: Andres Freund To: Robert Haas Cc: Tom Lane , Stephen Frost , "pgsql-hackers@postgresql.org" , Piotr Stefaniak Subject: Re: Preliminary results for proposed new pgindent implementation Message-ID: <20170519163008.6algqcf66ldu2bxa@alap3.anarazel.de> References: <30527.1495162840@sss.pgh.pa.us> <26654.1495203668@sss.pgh.pa.us> <20170519150526.GX3151@tamriel.snowman.net> <29626.1495207374@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 2017-05-19 12:21:52 -0400, Robert Haas wrote: > On Fri, May 19, 2017 at 11:22 AM, Tom Lane wrote: > > I certainly would rather that our version matched something that's under > > active maintenance someplace. But it seems like there are two good > > arguments for having a copy in our tree: > > > > * easy accessibility for PG developers > > > > * at any given time we need to be using a specific "blessed" version, > > so that all developers can get equivalent results. There's pretty much > > no chance of that happening if we depend on distro-provided packages, > > even if those share a common upstream. > > Yeah, but those advantages could also be gained by putting the > pgindent tree on git.postgresql.org in a separate repository. Having > it in the same repository as the actual PostgreSQL code is not > required nor, in my opinion, particularly desirable. I'm of the contrary opinion. A lot of the regular churn due to pgindent right now is because it's inconvenient to run. Having to clone a separate repository, compile that project, put it into PATH (fun if there's multiple versions), run pgindent, discover typedefs.list is out of date, update, run, ... is pretty much a guarantee that'll continue. If we had a make indent that computed local typedefs list, *added* new but not removed old ones, we could get much closer to just always being properly indented. The cost of putting it somewhere blow src/tools/pgindent seems fairly minor. - Andres -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers