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 1isHWI-0008I5-6N for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jan 2020 02:37:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1isHWF-0007f7-5m for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jan 2020 02:37:55 +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 1isHWE-0007f0-T7 for pgsql-hackers@lists.postgresql.org; Fri, 17 Jan 2020 02:37:54 +0000 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1isHWB-0006o4-Oh for pgsql-hackers@lists.postgresql.org; Fri, 17 Jan 2020 02:37:54 +0000 Received: by mail-qk1-x744.google.com with SMTP id 21so21378600qky.4 for ; Thu, 16 Jan 2020 18:37:51 -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=4+iXxPWg5PSovc1rJZGN2gyruxRpfltlRzpopqt9Epw=; b=cWIm9igKB0hOhuoZfr5CbAKHbfd6Ku4NaCJnrnKSzqI7YFplc+HsPgwZdbs/iIw/4O 8RPl2qkziBGKwr354+KbVJfkj8oUJBDGG7/6MTsFycxfN9zeV+AOhDrXRS2eat/sRsNV 47p72KP1zB7LMtMfU1y3h0kVTd5+W+Q1H1a11b2JNjEzYo2yT+ytYmWO5d1SI2k4OYJV GCRv+pUYZJLeaUwOIwa9vbyQTCy32s/cfQRwPCSaMbebNMesVB+4zOaxaA7zIj74phPF NTgILaK7DC9oPkF657VMi0QQc+Aw7tmHckhXGMUKw91anKr39FELt+KzMQtIGmdHnHY6 p+0w== 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=4+iXxPWg5PSovc1rJZGN2gyruxRpfltlRzpopqt9Epw=; b=hl8yWQpHde+/6471cHctUVI/izIQ4EIByazTtIqQfws1ylQaVAbehf4GFDICwjnJHp q459GQfUMvGPGODaGlAdxL5Xkgga1W0MZPESKGuDhKXuFMYsRM4FJQs8sslakF4QZGip km0lLz5+q1Co9E0f6IuLJ/XJMVFn/c69S+oobISY+nl3voFg+5mzJ/UW0fjooazqGc6u a7C8tCGyr6htS4TMdk+s1yYBW7bIP9jKAD8nOPZXDPZJ3xPkt2hpkXQMDH0iECbvlSo4 TmZyE3gTbuiScE9smjOWUhJeiTsGrpDFWUN4+OlhE9Th7A9orRLoEMFuv/2/cu73NYRr hf4Q== X-Gm-Message-State: APjAAAXDuQ7AEl9CzB69OsWnSYXSrhPMMahFRMEUFJ/FdjlvJ2R1DWxh Tcli836JT8PlrGUnbSw9y6p6eA== X-Google-Smtp-Source: APXvYqyH0IkSFDrRe21FxGSGAdhqPXUoDodUrwuC7dMcCZGhVkzU6pncdWWfQ5ckitbZmcGdG2ZvbA== X-Received: by 2002:a37:ad0e:: with SMTP id f14mr35762633qkm.213.1579228669920; Thu, 16 Jan 2020 18:37:49 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([190.95.19.128]) by smtp.gmail.com with ESMTPSA id u55sm12715303qtc.28.2020.01.16.18.37.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2020 18:37:49 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 43BE33008FE; Thu, 16 Jan 2020 23:37:47 -0300 (-03) Date: Thu, 16 Jan 2020 23:37:47 -0300 From: Alvaro Herrera To: Michael Paquier Cc: Thomas Munro , Tom Lane , Pg Hackers , Piotr Stefaniak Subject: Re: pgindent && weirdness Message-ID: <20200117023747.GA4256@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200117012129.GD2127@paquier.xyz> 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-17, Michael Paquier wrote: > On Thu, Jan 16, 2020 at 06:13:36PM -0300, Alvaro Herrera wrote: > > This is indeed a very good fix! Several badly formatted sites in our > > code are improved with this change. > > 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 -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services