From: David Steele <david@pgmasters.net>
To: Stephen Frost <sfrost@snowman.net>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: Phil Endecott <spam_from_pgsql_lists@chezphil.org>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15335: Documentation is wrong about archive_command and existing files
Date: Wed, 22 Aug 2018 08:35:33 -0400
Message-ID: <f6b16899-d634-4702-f14c-8c554bf3dbe8@pgmasters.net> (raw)
In-Reply-To: <20180820132447.GM3326@tamriel.snowman.net>
References: <CAMkU=1x9pjj410OD3gTzcpk7+xsBxce6xMMR7MOdn8-K_30FbA@mail.gmail.com>
<1534611104496@dmwebmail.dmwebmail.chezphil.org>
<CAMkU=1zo8bPjkvrSF=PWG4GEkQBYhNPD32Dd9a0DuqF-+4XwNg@mail.gmail.com>
<8402fafa-32ad-9fcd-f616-cf67131dec40@pgmasters.net>
<20180820132447.GM3326@tamriel.snowman.net>
On 8/20/18 9:24 AM, Stephen Frost wrote:
> * David Steele (david@pgmasters.net) wrote:
>
>> We could at least list all the things that a good archive command should
>> do and point out that the example in the docs doesn't do them and that
>> it is intended *only* as an example.
>
> This sounds like a good idea to me, in general. I suggest we qualify
> the command shown further and say it's only provided as an illustration
> of how to set an archive_command and that it isn't an example. Perhaps
> we should even remove the shell-script bits and instead just have:
>
> archive_command = 'archivecmd /mnt/server/archivedir/%f %p'
+1
>
> As long as we have something there that looks like valid shell script
> and which doesn't obviously fail, people are likely going to continue to
> use it.
OK -- I'll work up a doc patch that lists the basic things an archive
command should do and see where that leads us.
Regards,
--
-David
david@pgmasters.net
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-bugs@postgresql.org
Cc: david@pgmasters.net, sfrost@snowman.net, jeff.janes@gmail.com, spam_from_pgsql_lists@chezphil.org
Subject: Re: BUG #15335: Documentation is wrong about archive_command and existing files
In-Reply-To: <f6b16899-d634-4702-f14c-8c554bf3dbe8@pgmasters.net>
References: <CAMkU=1x9pjj410OD3gTzcpk7+xsBxce6xMMR7MOdn8-K_30FbA@mail.gmail.com> <1534611104496@dmwebmail.dmwebmail.chezphil.org> <CAMkU=1zo8bPjkvrSF=PWG4GEkQBYhNPD32Dd9a0DuqF-+4XwNg@mail.gmail.com> <8402fafa-32ad-9fcd-f616-cf67131dec40@pgmasters.net> <20180820132447.GM3326@tamriel.snowman.net> <f6b16899-d634-4702-f14c-8c554bf3dbe8@pgmasters.net>
* 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