pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Nathan Bossart <nathandbossart@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Rename contrib module basic_archive to basic_wal_module
Date: Wed, 25 Jan 2023 13:58:01 -0800
Message-ID: <20230125215801.zhqe7t67uhdxai5g@awork3.anarazel.de> (raw)
In-Reply-To: <CA+TgmoY4WTkFNHZjSSjjjOSUyjHzatwMp+DVWK3W-A=h5+AQzQ@mail.gmail.com>
References: <E1pKYTE-005MZS-WB@gemulon.postgresql.org>
	<CA+TgmoYG5uGOp7DGFT5gzC1kKFWGjkLSj_wOQxGhfMcvVEiKGA@mail.gmail.com>
	<20230125181750.GC1098626@nathanxps13>
	<CA+TgmoY4WTkFNHZjSSjjjOSUyjHzatwMp+DVWK3W-A=h5+AQzQ@mail.gmail.com>

Hi,

On 2023-01-25 14:05:39 -0500, Robert Haas wrote:
> > 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.

I think it'd be just fine to keep the name as basic_archive and use it for
both archiving and restoring. Restoring from an archive still deals with
archiving.

I agree that basic_wal_module isn't a good name.

Greetings,

Andres Freund





view thread (10+ messages)  latest in thread

Message-ID: <20230125215801.zhqe7t67uhdxai5g@awork3.anarazel.de>
Permalink:  ../20230125215801.zhqe7t67uhdxai5g@awork3.anarazel.de/
Also on:    postgresql.org/message-id/20230125215801.zhqe7t67uhdxai5g@awork3.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, robertmhaas@gmail.com, nathandbossart@gmail.com, michael@paquier.xyz, pgsql-hackers@postgresql.org
  Subject: Re: pgsql: Rename contrib module basic_archive to basic_wal_module
  In-Reply-To: <20230125215801.zhqe7t67uhdxai5g@awork3.anarazel.de>
  References: <E1pKYTE-005MZS-WB@gemulon.postgresql.org> <CA+TgmoYG5uGOp7DGFT5gzC1kKFWGjkLSj_wOQxGhfMcvVEiKGA@mail.gmail.com> <20230125181750.GC1098626@nathanxps13> <CA+TgmoY4WTkFNHZjSSjjjOSUyjHzatwMp+DVWK3W-A=h5+AQzQ@mail.gmail.com> <20230125215801.zhqe7t67uhdxai5g@awork3.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