Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1isHqF-0000Ra-8Y for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jan 2020 02:58:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1isHqD-0007le-SI for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jan 2020 02:58:33 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1isHqD-0007lX-JE for pgsql-hackers@lists.postgresql.org; Fri, 17 Jan 2020 02:58:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1isHqA-0006yJ-U5 for pgsql-hackers@lists.postgresql.org; Fri, 17 Jan 2020 02:58:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 00H2wRX8023425; Thu, 16 Jan 2020 21:58:27 -0500 From: Tom Lane To: Alvaro Herrera cc: Michael Paquier , Thomas Munro , Pg Hackers , Piotr Stefaniak Subject: Re: pgindent && weirdness In-reply-to: <20200117025021.GA5261@alvherre.pgsql> References: <20200117025021.GA5261@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Thu, 16 Jan 2020 23:50:21 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23423.1579229907.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 16 Jan 2020 21:58:27 -0500 Message-ID: <23424.1579229907@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > On 2020-Jan-16, Tom Lane wrote: >> ... But I was hoping to >> hear Piotr's opinion before moving forward. > FWIW I think this code predates Piotr's involvement, I think; at least, > it was already there in the FreeBSD code he imported: > https://github.com/pstef/freebsd_indent/commit/55c29a8774923f2d40fef7919= b9490f61e57e7bb#diff-85c94ae15198235e2363f96216b9a1b2R565 The roots of that code are even older than Postgres, I believe, and there may not be anybody left who understands it completely. But Piotr has certainly spent more time looking at it than I have, so I'd still like to hear what he thinks. regards, tom lane