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 1isHiW-0000G9-0Y for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jan 2020 02:50:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1isHiT-0006cx-Uq for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jan 2020 02:50: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 1isHiT-0006XU-La for pgsql-hackers@lists.postgresql.org; Fri, 17 Jan 2020 02:50:33 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1isHiL-0006uf-LH for pgsql-hackers@lists.postgresql.org; Fri, 17 Jan 2020 02:50:32 +0000 Received: by mail-qt1-x844.google.com with SMTP id e5so20724529qtm.6 for ; Thu, 16 Jan 2020 18:50:25 -0800 (PST) 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=CQZWmlSIliyqNwaRv4xmRtUTOZmk9HTdnSmqrACs0Iw=; b=rLd6rR6AasRNDQD++RndnT+xDP7FbExPsQ3Sja0YTwt8LP5sdxpx0LIgy13xZyNteO OpA+06NVQQp0QoVKjbmhw7c2jjE6WlGYvyiZjcEYnXFLX1cLQlUjlyG36Q/h97XGcAJE 8MYcGqDhvibu0XcfT6eJv+MCqh/UqKQW7yW3Isade1wpyqwGOzQ7vT6Kn402/hDcqdl9 O6Pik5XLwPH3uWYZTfuDhHh5jZNa3JyW7XXkE9eQb/vqHbLSKSMX7vCbjr/7xIT6/YeI hcdsmQSn3ZQlDWfJ72MNvGqARbHe/5yWWZziomxk+YeC1HJZyp05NyQZj3JgwMGfTj+g Z3Ug== 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=CQZWmlSIliyqNwaRv4xmRtUTOZmk9HTdnSmqrACs0Iw=; b=XZ8M17LDqkVxX1qVNw7Co4C+WScz6gaUTiudeNOZmbhsh5huScGAPbOFYKmFwJXJv9 ybUJfvvx03vo+QwBVcpUBa1vpTaw2w3D4vkgvIspbH76gMLXXKjvphKYyg2GUALE9hTS yCfH6BwQMZCoMNSALPdMUNTeAE4cVRUUmt8kurMWlf1i1DUIfTAzcE2dDXM1o93tseOZ x9MpJtDjFIMMz4AxA/0/leOFcgqNfBYyEQ4aqZ1Kw3d8oVJVZLBy64tTGNSP0F6hTd2+ x8MmB6I5ilFCr8qYsVcF0Wc5SQj7OzP+t0pRELrYxb+I4feZRrSXWJNW2saWQvPjt+bE 9z+A== X-Gm-Message-State: APjAAAX5wCvO59zZM7mYQWEjob3rJwD2k5uHO3aJM5xhPx8ODa3SGDv1 k896EoThvO8A25Lcewq2cMoFag== X-Google-Smtp-Source: APXvYqxYIv8S8zmMYDN76/8NynoKFEKj3dZxWIaAzdy3Ykbn4DllTRCTuCITaMl8g06Oz49M73NhpA== X-Received: by 2002:ac8:21ad:: with SMTP id 42mr5555556qty.109.1579229423899; Thu, 16 Jan 2020 18:50:23 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([190.95.19.128]) by smtp.gmail.com with ESMTPSA id n190sm11270796qke.90.2020.01.16.18.50.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2020 18:50:23 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id B9D0C3008FE; Thu, 16 Jan 2020 23:50:21 -0300 (-03) Date: Thu, 16 Jan 2020 23:50:21 -0300 From: Alvaro Herrera To: Tom Lane Cc: Michael Paquier , Thomas Munro , Pg Hackers , Piotr Stefaniak Subject: Re: pgindent && weirdness Message-ID: <20200117025021.GA5261@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <22805.1579228884@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Jan-16, Tom Lane wrote: > Alvaro Herrera writes: > > On 2020-Jan-17, Michael Paquier wrote: > >> Nice find! Could you commit that? I can see many places improved as > >> well, among explain.c, tablecmds.c, typecmds.c, and much more. > > > I think Tom is the only one who can commit that, > > https://git.postgresql.org/gitweb/?p=pg_bsd_indent.git > > I don't *think* that repo is locked down that hard --- IIRC, > PG committers should have access to it. 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/55c29a8774923f2d40fef7919b9490f61e57e7bb#diff-85c94ae15198235e2363f96216b9a1b2R565 -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services