Re: pgsql: Rename contrib module basic_archive to basic_wal_module

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgsql: Rename contrib module basic_archive to basic_wal_module
Date: 2023-01-25 19:05:39
Message-ID: CA+TgmoY4WTkFNHZjSSjjjOSUyjHzatwMp+DVWK3W-A=h5+AQzQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Wed, Jan 25, 2023 at 1:17 PM Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote:
> On Wed, Jan 25, 2023 at 12:49:45PM -0500, Robert Haas wrote:
> > On Wed, Jan 25, 2023 at 12:37 AM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> >> Rename contrib module basic_archive to basic_wal_module
> >
> > FWIW, I find this new name much less clear than the old one.
> >
> > If we want to provide a basic_archive module and a basic_recovery
> > module, that seems fine. Why merge them?
>
> I'll admit I've been stewing on whether "WAL Modules" is the right name.
> My first instinct was to simply call it "Archive and Recovery Modules,"
> which is longer but (IMHO) clearer.
>
> I wanted to merge basic_archive and basic_recovery because there's a decent
> chunk of duplicated code. Perhaps that is okay, but I would rather just
> have one test module. AFAICT the biggest reason to split it is because we
> can't determine a good name. Maybe we could leave the name as
> "basic_archive" since it deals with creating and recovering archive files.

Yeah, maybe. I'm not sure what the best thing to do is, but if I see a
module called basic_archive or basic_restore, I know what it's about,
whereas basic_wal_module seems a lot less specific. It sounds like it
could be generating or streaming it just as easily as it could be
archiving it. It would be nice to have a name that is less prone to
that kind of unclarity.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2023-01-25 21:34:51 Re: pgsql: Rename contrib module basic_archive to basic_wal_module
Previous Message Nathan Bossart 2023-01-25 18:17:50 Re: pgsql: Rename contrib module basic_archive to basic_wal_module

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2023-01-25 19:06:47 Re: What object types should be in schemas?
Previous Message Andres Freund 2023-01-25 19:05:35 Re: Syncrep and improving latency due to WAL throttling