Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fEQgV-0005S8-VJ for pgsql-hackers@arkaria.postgresql.org; Fri, 04 May 2018 02:43:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fEQgU-0003D5-H5 for pgsql-hackers@arkaria.postgresql.org; Fri, 04 May 2018 02:42:58 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fEQgU-0003Cv-AV for pgsql-hackers@lists.postgresql.org; Fri, 04 May 2018 02:42:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fEQgN-0004cK-Gr for pgsql-hackers@postgresql.org; Fri, 04 May 2018 02:42:57 +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 w442gfmV024839; Thu, 3 May 2018 22:42:41 -0400 From: Tom Lane To: Peter Eisentraut cc: Robert Haas , John Naylor , Stas Kelvich , Andreas Karlsson , Andrew Dunstan , PostgreSQL Hackers , David Fetter Subject: Re: unused_oids script is broken with bsd sed In-reply-to: <26d649cf-e3e6-2709-3190-b431930c1127@2ndquadrant.com> References: <37D774E4-FE1F-437E-B3D2-593F314B7505@postgrespro.ru> <34a54c54-9132-1254-2bc3-d3489fb79728@2ndQuadrant.com> <4473.1524665917@sss.pgh.pa.us> <4DE444D1-DDE9-460F-AC2F-EB1B73D94A2D@postgrespro.ru> <26728623-7783-4103-9BED-08D443C1729F@postgrespro.ru> <19973.1524686883@sss.pgh.pa.us> <31238.1524756550@sss.pgh.pa.us> <16925.1525376229@sss.pgh.pa.us> <26d649cf-e3e6-2709-3190-b431930c1127@2ndquadrant.com> Comments: In-reply-to Peter Eisentraut message dated "Thu, 03 May 2018 20:20:18 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24837.1525401761.1@sss.pgh.pa.us> Date: Thu, 03 May 2018 22:42:41 -0400 Message-ID: <24838.1525401761@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > On 5/3/18 15:37, Tom Lane wrote: >> I took a quick look into this. It's very easy to do so far as the Perl >> code is concerned: > I think in order to introduce warts like that, we have to have really > great savings. I haven't seen any actual analysis what the current > problem is, other than one person expression a suspicion. Well, the work's already done, and personally I think the code is cleaner after 9bf28f96c and bad51a49a regardless of whether there's any performance benefit. You could call 1f1cd9b5d a wart if you wanted. But we've done largely the same thing to pgindent, for one, in the past year or so, and I find that to be a usability improvement, independently of whether there's any build performance win. My editor gets cranky when files change under it for no reason. regards, tom lane