Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZicF-0007nP-58 for pgsql-hackers@arkaria.postgresql.org; Fri, 15 May 2020 22:15:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jZicE-0004qZ-2O for pgsql-hackers@arkaria.postgresql.org; Fri, 15 May 2020 22:15:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZicD-0004qN-S2 for pgsql-hackers@lists.postgresql.org; Fri, 15 May 2020 22:15:37 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jZicB-0000yn-BA for pgsql-hackers@lists.postgresql.org; Fri, 15 May 2020 22:15:37 +0000 Received: by mail-qt1-x843.google.com with SMTP id v4so3383840qte.3 for ; Fri, 15 May 2020 15:15: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=NvOJ7fGXfOGd2d00xcgl2ATEZ/dg/5lcgCYRYKXWy0M=; b=dsbSBg0g5LFQVlyqF5wY+FxiINwdYrHbSini03dL5iNtZfAmyGaRl1ZXK5uhy/gi9T 8dxVAolvo75uSvlKWjx04k8bteZ7MLu3B5Vs7dnrlg+XMgBg7TzzIeDuIcT1zycgn9u6 9NWQgCIGb2cFpH7spPnl+e3uxodiXVJAb6ImmXTWBWwts/bZlmBaG1fHfcg9A+o3glAq ekuebdOv9l7tHTfdmbgNn+HSz9GD4+jMopWeUs1ppvxrYP9Gd/6vDpX+AukaKFypDx28 KGVHhkKOlTOgAnLFRVxu7MCbcKyKyX3qxPVynJfj5E7LEhgUKk2n/OVNwzHdZ2zkXjKs 9r4w== 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=NvOJ7fGXfOGd2d00xcgl2ATEZ/dg/5lcgCYRYKXWy0M=; b=N1JOAwNt6lrcWyVShpgZeUSWEUJlVCvxkKdfT901AS49u9TSDBiktN0/nz0ldMmmFB 7Saa63TIqQmVB3Zt8s5CRseWeV1EDCk+mhbQG5elYL9BE7Td4MRhzo6kmCmhPS3huVU+ QhlyZc2Fo3AAerP/0cBOeybRm3sHfx3KwGBuvrxZ2F4+UZ/NtIptpKHD1nJ5xEF1M6G9 25lO6IanH6b7ptEoVWCONymlrSiLSOFsmRommBMqoJft4edQshWyAHmGLie+h0+jhMDP Igf9jIZU0Y7qwrtXDCu3BFQxATdcQzXrfTW5DTea81e708iheq/OZ7CYo1vZo4Tm6NrY VV5A== X-Gm-Message-State: AOAM530Drp+gGE8a3qgkxopDjau1YShQtSMoWxv9/9iowall5WRKlce7 GWFS57Cn71cQM94qiqqi8OWKjw== X-Google-Smtp-Source: ABdhPJzpI6hc1LN1bP/RMQcbo1ksDInpIXff1wcX97b6G7aBKqi/mYpfAuBD3LQBWenro3CZilX+XA== X-Received: by 2002:ac8:2a76:: with SMTP id l51mr5743133qtl.81.1589580933454; Fri, 15 May 2020 15:15:33 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id h3sm2682165qkf.15.2020.05.15.15.15.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 15:15:33 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id EAB733006AF; Fri, 15 May 2020 18:15:30 -0400 (-04) Date: Fri, 15 May 2020 18:15:30 -0400 From: Alvaro Herrera To: Thomas Munro Cc: Tom Lane , Michael Paquier , Pg Hackers , Piotr Stefaniak Subject: Re: pgindent && weirdness Message-ID: <20200515221530.GA2345@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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-May-16, Thomas Munro wrote: > Here's the patch I propose to commit to pg_bsd_indent, if the repo > lets me, and here's the result of running it on the PG tree today. Looks good. Of all these changes in PG, only two are of the STACK_OK() nature, and there are 38 places that get better. > I suppose the principled way to fix that problem with STACK_OF(x) > would be to have a user-supplied list of function-like-macros that > expand to a type name, but I'm not planning to waste time on that. +1 on just ignoring that problem as insignificant. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services