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 1kKRd7-00055n-Nk for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Sep 2020 19:37:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kKRd6-0006v1-EM for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Sep 2020 19:37:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kKRd6-0006ut-7A for pgsql-hackers@lists.postgresql.org; Mon, 21 Sep 2020 19:37:40 +0000 Received: from mail-qv1-xf43.google.com ([2607:f8b0:4864:20::f43]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kKRd3-0003Rk-RH for pgsql-hackers@postgresql.org; Mon, 21 Sep 2020 19:37:39 +0000 Received: by mail-qv1-xf43.google.com with SMTP id di5so8079266qvb.13 for ; Mon, 21 Sep 2020 12:37:37 -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=wZKFuWRDQyJ6RKScEGPzY3lyh+MtrL/UDrqI/CsALlo=; b=G75HYKHnnZ30EAR2UpNU13LBVcVrnYcxJZaM+3y6TGqo/vApdQ6/mAkGxHlYbmrlAi YNTfeRAEpsFAPtSUuhZCGyfknSd6Kz6TszV4X7i/QuEm6UL9xFBG3t0bUwRxEkSN72gK n28azDuqGlt4QQ1kxRG+ZcJPG3zf0wKGnWPKF+0MUTlqzKB+MV4mGxsGqY/tO+HFR9cL 4uiq/X+nixzCj5mIoOsXQWI3AFyH8Gq0o55dlyFizmAPmpXCiSr1blnecHuUiIMqYNU0 KXCSaf9jpS540a9Z3FnZryrvQqP/kFi1da1SzogXUrmbU40wi7UKckz83DBE9JlPuDTt OcEw== 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=wZKFuWRDQyJ6RKScEGPzY3lyh+MtrL/UDrqI/CsALlo=; b=dAkfUmDMWsVbd+5OUt9ykcHVYtDi1INQDhLBwMczg2KvqRCXX3azrqrKazgiprN632 4W1ytyhpkKiZHu/GmgyBvwkGRuvRreYeOYPKHI133iEF/RiUvoKzbag9hTsQEjDrAXBE +eKun1VvzNT+v2D6Vc4rqJuOQ35A+sMmdK3AWsWTjvRSEdJcTO3mNYC9+1xEO1vnQx3d 0Xl4PdNR0BK9bC4aGrp3XsGlXkMmWTuaA3XOiiJ6yRgI6nTet6BDrWWS5ZvpVppf5BF0 Biwy91iqkDdSi3vr1tO9KNoeuc1G1JfXVxuC5/MhI4tIsyTVzxQbFk1bGb9nXBVUcaHX twpg== X-Gm-Message-State: AOAM5309GJ44atumJy0y2a70EF7ffZIu14kVFYtbO3BkCoSYyRJgg5j2 isIuodBfMfkojomGEV79VTgJjA== X-Google-Smtp-Source: ABdhPJzZa2qgq0mxJXYg3y9fa7ggPuI5JjDy9CUg4qY22xvcdkK4eJtvczaXt2Vsto3p+Gje1E404w== X-Received: by 2002:a05:6214:292:: with SMTP id l18mr1743954qvv.11.1600717056776; Mon, 21 Sep 2020 12:37:36 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.148]) by smtp.gmail.com with ESMTPSA id x59sm10984689qte.14.2020.09.21.12.37.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2020 12:37:36 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id A1C332A1509; Mon, 21 Sep 2020 16:37:34 -0300 (-03) Date: Mon, 21 Sep 2020 16:37:34 -0300 From: Alvaro Herrera To: Tom Lane Cc: Daniel Gustafsson , Peter Eisentraut , pgsql-hackers Subject: Re: pgindent vs dtrace on macos Message-ID: <20200921193734.GA3486@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1023612.1600716072@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-Sep-21, Tom Lane wrote: > > ... isn't this more likely to create a typedef entry than merely a > > function name? > > Well, yeah, it *is* a typedef. My proposal is to rename the C function > to avoid the conflict, rather than renaming the typedef. Given the > small number of direct calls (none), that's a lot less work. Also, > I think pgtypes_numeric.h is exposed to ecpg client code, so changing > that typedef's name could be quite problematic. Ah, of course. The idea of adding the names to pgindent's %blacklist results in severe uglification, particularly in the regex code, so +1 for your workaround. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services