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 1ilF14-0007rU-S7 for pgsql-committers@arkaria.postgresql.org; Sat, 28 Dec 2019 16:32:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ilF13-0000m2-NW for pgsql-committers@arkaria.postgresql.org; Sat, 28 Dec 2019 16:32:37 +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 1ilF13-0000kG-Fv for pgsql-committers@lists.postgresql.org; Sat, 28 Dec 2019 16:32:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ilF10-0003hi-Ux for pgsql-committers@lists.postgresql.org; Sat, 28 Dec 2019 16:32:37 +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 xBSGWQOn018017; Sat, 28 Dec 2019 11:32:26 -0500 From: Tom Lane To: Andres Freund cc: Michael Paquier , Peter Geoghegan , Alvaro Herrera , pgsql-committers Subject: Re: pgsql: Rename files and headers related to index AM In-reply-to: <20191228101024.ckw3iz3naouxoxzn@alap3.anarazel.de> References: <20191226144606.GA5659@alvherre.pgsql> <20191226181451.czc4zad3k5qhjoni@alap3.anarazel.de> <20191226232017.GA311240@paquier.xyz> <20191228101024.ckw3iz3naouxoxzn@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sat, 28 Dec 2019 02:10:24 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18015.1577550746.1@sss.pgh.pa.us> Date: Sat, 28 Dec 2019 11:32:26 -0500 Message-ID: <18016.1577550746@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On 2019-12-27 08:20:17 +0900, Michael Paquier wrote: >> Hm, I am not sure that it is actually that much used, such stuff is >> very specialized. > That's true for some of this, but e.g. genam.h is pretty widely > included. I mean, you had to adapt like 100+ files and while like 30 or > so of those are in implementation details of individual indexes, the > rest is not. This may suggest that we should think about an actual refactoring, rather than just mechanical renaming. Do these results mean that we've allowed index API details to bleed into the wrong places? (Probably ought to take this thread to -hackers if anyone wants to discuss that.) regards, tom lane