pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Rename files and headers related to index AM
Date: Thu, 26 Dec 2019 10:14:51 -0800
Message-ID: <20191226181451.czc4zad3k5qhjoni@alap3.anarazel.de> (raw)
In-Reply-To: <20191226144606.GA5659@alvherre.pgsql>
References: <E1ijvQr-0004mC-9N@gemulon.postgresql.org>
	<20191226144606.GA5659@alvherre.pgsql>

Hi,

On 2019-12-26 11:46:06 -0300, Alvaro Herrera wrote:
> On 2019-Dec-25, Michael Paquier wrote:
> 
> > Rename files and headers related to index AM
> > 
> > The following renaming is done so as source files related to index
> > access methods are more consistent with table access methods (the
> > original names used for index AMs ware too generic, and could be
> > confused as including features related to table AMs):
> > - amapi.h -> indexam.h.
> > - amapi.c -> indexamapi.c.  Here we have an equivalent with
> > backend/access/table/tableamapi.c.
> > - amvalidate.c -> indexamvalidate.c.
> > - amvalidate.h -> indexamvalidate.h.
> > - genam.c -> indexgenam.c.
> > - genam.h -> indexgenam.h.
> 
> I think this commit was too hasty.  There's too many people distracted
> by holidays.

+1


> I suppose that this renaming is going to impact all third-party
> extensions that use those headers.  If there are no complaints to this,
> that means we can do some more invasive header refactoring, unimpeded by
> such complaints either.

Yea, this seems like a much bigger move than warranted. Especially
without a backward compat header put into place.

Imo this ought to be reverted.

Greetings,

Andres Freund





view thread (7+ messages)  latest in thread

Message-ID: <20191226181451.czc4zad3k5qhjoni@alap3.anarazel.de>
Permalink:  ../20191226181451.czc4zad3k5qhjoni@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20191226181451.czc4zad3k5qhjoni@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, alvherre@2ndquadrant.com, michael@paquier.xyz
  Subject: Re: pgsql: Rename files and headers related to index AM
  In-Reply-To: <20191226181451.czc4zad3k5qhjoni@alap3.anarazel.de>
  References: <E1ijvQr-0004mC-9N@gemulon.postgresql.org> <20191226144606.GA5659@alvherre.pgsql> <20191226181451.czc4zad3k5qhjoni@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox