Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dB3eI-0002gg-SC for pgsql-hackers@arkaria.postgresql.org; Wed, 17 May 2017 18:26:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dB3eI-0000HF-Et for pgsql-hackers@arkaria.postgresql.org; Wed, 17 May 2017 18:26:14 +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 1dB3ck-0004Mr-7q for pgsql-hackers@postgresql.org; Wed, 17 May 2017 18:24:38 +0000 Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dB3cg-0008AV-IE for pgsql-hackers@postgresql.org; Wed, 17 May 2017 18:24:37 +0000 Received: by mail-qk0-x22e.google.com with SMTP id y201so17421763qka.0 for ; Wed, 17 May 2017 11:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=7RewEs60U2NXJgBF93RJRnTn3gUnk615sgb8KG/SdzM=; b=T/X5ByeE4w2lq7YKYiG6CaUDiS/v+QxMwh7yt6yp7m8Ag7ghzdQMetp38hWUu9c+OV bnVnfQYRiAsAhCa7HY2Vs/Vx3OWdGRpe+byHiwTVaX55fvxjuWA0pMMm5/TmF0noE77H j3GDLXu1KXyU5wTWRo9ah9yvQPWbeMNArWrF2IF3QsrdlFvSlnOxRU4DCK+yiFyqFhsc PO0E1IejfEBO5tETIWu5BzfK0q/p/mfEipkwfxeSMCzSEiZG7gH2c1kD+t68u9EOc+EV AqBzlSA/1d12KfK6aPca2CMTimMQXO3jh0y8piu6HH4gb//Q7VwRetB5S2v+YQQDF6cN WB9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=7RewEs60U2NXJgBF93RJRnTn3gUnk615sgb8KG/SdzM=; b=YoSkCY5YX3GBS6qQHHV4fqClHwg1b015kLauKOXHBQ0phPEcXc8c5rkVfgqIReqBga qCD+e6SFN/Ug3HB57y8rJJ2h6Alo8ppsSY4p1ktU/6VCvj3/iJ2OvnkjP+HLmPdrXqSL zcsVyep791ZJ/nihWwnhxoPcPCcsxmfb261ERlweE8zMH3XluVjom3ormhKniIW95Mug S+KJDDWYZHyVxqBlbB3hhgJGNzmAGhSzM3cBO8/fmqYYMJ1zPsItoUeyBR5HGfOcHdi0 kXWvQbbEo03jKLjgcctrxbM3wmRDagprJgskvN45+Ka0j5Xuk81VB/172hL7I6ovXiBw FthQ== X-Gm-Message-State: AODbwcBpE+DQa6NjPnR48KEsPLcH2/sOo1gtdmSQAsXXgEfoWe3MH7Qf 1uPzJkbukmqcuMe7 X-Received: by 10.55.217.146 with SMTP id q18mr104539qkl.249.1495045473117; Wed, 17 May 2017 11:24:33 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([190.217.209.130]) by smtp.gmail.com with ESMTPSA id 88sm1941766qkx.68.2017.05.17.11.24.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 May 2017 11:24:32 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 7F59B5BD; Wed, 17 May 2017 14:24:22 -0400 (-04) Date: Wed, 17 May 2017 14:24:22 -0400 From: Alvaro Herrera To: Tom Lane Cc: Peter Eisentraut , pgsql-hackers@postgresql.org Subject: Re: pgindent (was Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.) Message-ID: <20170517182422.ps5absh5h7v2sehj@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <31047.1495042522@sss.pgh.pa.us> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) 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 Tom Lane wrote: > Alvaro Herrera writes: > > We have someone who has studied the BSD indent code and even sent us > > patches to fix quite a few bugs, but we've largely ignored his efforts > > so far. I propose we take that indent as part of our repo, and patch it > > to our preferences. > > Messing with pgindent didn't seem all that high-priority while we were > in development mode, and it would also have been pretty painful to have > a pgindent that wanted to revisit settled decisions when you just wanted > it to fix new code. Maybe now (ie, over the next few weeks) is a good > time to pursue it, before we start a new round of code development. Sounds reasonable. > Not sure about actually incorporating it into our repo. Doing so would > make it easier for people to use, for sure, and the license seems to be > regular 3-clause BSD, so that angle is OK. But do we want to be carrying > around another 150K of source code? The alternatives are 1. rely on the dead code we've been using so far (the old BSD indent patched with our Pg-specific tweaks), or 2. rely on someone else's upstream code -- in this case, FreeBSD's as patched by Piotr. Now that Piotr's is about to find a home, perhaps it's okay for us to rely on that one. I just didn't like the idea of running something from Piotr's personal repo. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, 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