pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Benoit Lobréau <benoit.lobreau@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Bossart, Nathan <bossartn@amazon.com>
Cc: David Steele <david@pgmasters.net>
Cc: Fujii Masao <masao.fujii@oss.nttdata.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Stephen Frost <sfrost@snowman.net>
Subject: Re: archive modules
Date: Wed, 5 Oct 2022 19:55:58 +0200
Message-ID: <4f66de67-35a0-3fe7-fa61-d618e1bd2c2c@enterprisedb.com> (raw )
In-Reply-To: <20220923161402.GA736566@nathanxps13 >
References: <613541.1662842656@sss.pgh.pa.us >
<20220910211046.GA2651323@nathanxps13 >
<9ee5d180-2c32-a1ca-d3d7-63a723f68d9a@enterprisedb.com >
<20220914200305.GA2984249@nathanxps13 >
<37857474-5caa-ccb3-92a3-150ddfe851ab@enterprisedb.com >
<2884265.1663188443@sss.pgh.pa.us >
<20220914211746.GA2986134@nathanxps13 >
<2910705.1663193529@sss.pgh.pa.us >
<20220914222736.GA3042279@nathanxps13 >
<d9d1f7fd-dd99-98f9-8aed-0e976921573b@enterprisedb.com >
<20220923161402.GA736566@nathanxps13 >
On 23.09.22 18:14, Nathan Bossart wrote:
> On Fri, Sep 23, 2022 at 05:58:42AM -0400, Peter Eisentraut wrote:
>> On 15.09.22 00:27, Nathan Bossart wrote:
>>> Both archive_command and archive_library are PGC_SIGHUP, so IIUC that
>>> wouldn't be sufficient. I attached a quick sketch that seems to provide
>>> the desired behavior. It's nowhere near committable yet, but it
>>> demonstrates what I'm thinking.
>>
>> What is the effect of issuing a warning like in this patch? Would it just
>> not archive anything until the configuration is fixed? I'm not sure what
>> behavior you are going for; it's a bit hard to imagine from just reading the
>> patch.
>
> Yes, it will halt archiving and emit a WARNING, just like what happens on
> released versions when you leave archive_command empty.
Leaving archive_command empty is an intentional configuration choice.
What we are talking about here is, arguably, a misconfiguration, so it
should result in an error.
view thread (102+ messages) latest in thread
Message-ID: <4f66de67-35a0-3fe7-fa61-d618e1bd2c2c@enterprisedb.com>
Permalink: ../4f66de67-35a0-3fe7-fa61-d618e1bd2c2c@enterprisedb.com/
Also on: postgresql.org/message-id/4f66de67-35a0-3fe7-fa61-d618e1bd2c2c@enterprisedb.com
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: peter.eisentraut@enterprisedb.com, nathandbossart@gmail.com, tgl@sss.pgh.pa.us, benoit.lobreau@gmail.com, alvherre@alvh.no-ip.org, robertmhaas@gmail.com, bossartn@amazon.com, david@pgmasters.net, masao.fujii@oss.nttdata.com, michael@paquier.xyz, magnus@hagander.net, sfrost@snowman.net
Subject: Re: archive modules
In-Reply-To: <4f66de67-35a0-3fe7-fa61-d618e1bd2c2c@enterprisedb.com>
* 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