From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, bharath(dot)rupireddyforpostgres(at)gmail(dot)com, tgl(at)sss(dot)pgh(dot)pa(dot)us, peter(dot)eisentraut(at)enterprisedb(dot)com, benoit(dot)lobreau(at)gmail(dot)com, alvherre(at)alvh(dot)no-ip(dot)org, robertmhaas(at)gmail(dot)com, bossartn(at)amazon(dot)com, david(at)pgmasters(dot)net, masao(dot)fujii(at)oss(dot)nttdata(dot)com, pgsql-hackers(at)postgresql(dot)org, magnus(at)hagander(dot)net, sfrost(at)snowman(dot)net |
Subject: | Re: archive modules |
Date: | 2022-11-07 21:15:47 |
Message-ID: | 20221107211547.GA632101@nathanxps13 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Nov 07, 2022 at 03:20:31PM +0900, Michael Paquier wrote:
> On Sat, Nov 05, 2022 at 02:08:58PM -0700, Nathan Bossart wrote:
>> Perhaps we could eventually move the archive_command functionality to a
>> contrib module (i.e., "shell_archive") so that users must always set
>> archive_library. But until then, I suspect it's better to treat modules
>> and commands as two separate interfaces to ease migration from older major
>> versions (even though archive_command is now essentially a built-in archive
>> module).
>
> I agree that this is a fine long-term goal, removing all traces of the
> archive_command from the backend core code. This is actually an
> argument in favor of having no traces of XLogArchiveCommand in
> pgarch.c, no? ;p
Indeed.
> I am not sure how long we should wait before being able to do that,
> perhaps a couple of years of least? I'd like to think the sooner the
> better (like v17?) but we are usually conservative, and the removal of
> the exclusive backup mode took 5~6 years if I recall correctly..
Yeah, I imagine we'd need to mark it as deprecated-and-to-be-removed for
several years first.
--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com
From | Date | Subject | |
---|---|---|---|
Next Message | Melanie Plageman | 2022-11-07 21:17:47 | Re: Add tracking of backend memory allocated to pg_stat_activity |
Previous Message | Simon Riggs | 2022-11-07 21:14:47 | Re: SUBTRANS: Minimizing calls to SubTransSetParent() |