Re: archive_commnad parameter question

2021-04-19 Thread Alan Hodgson
On Mon, 2021-04-19 at 21:09 +, Allie Crawford wrote: > Hello, > I am new in PostgreSQL and I am trying to understand what the “test” word is > representing in the archive_command configuration that the PostgreSQL > documentation is showing as the format on how to set up this parameter >   > arc

Re: archive_commnad parameter question

2021-04-19 Thread Peter J. Holzer
On 2021-04-19 21:09:13 +, Allie Crawford wrote: > I am new in PostgreSQL and I am trying to understand what the “test” word is > representing in the archive_command configuration that the PostgreSQL > documentation is showing as the format on how to set up this parameter > > archive_command =

Re: archive_commnad parameter question

2021-04-19 Thread Gavan Schneider
On 20 Apr 2021, at 7:09, Allie Crawford wrote: archive_command = 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f' # Unix Does anybody know what is “test” representing in this parameter configuration? my_unix_prompt> man test gives: Tests the expression given a

Re: archive_commnad parameter question

2021-04-19 Thread Adrian Klaver
On 4/19/21 2:09 PM, Allie Crawford wrote: Hello, I am new in PostgreSQL and I am trying to understand what the “test” word is representing in the archive_command configuration that the PostgreSQL documentation is showing as the format on how to set up this parameter archive_command = 'test

archive_commnad parameter question

2021-04-19 Thread Allie Crawford
Hello, I am new in PostgreSQL and I am trying to understand what the “test” word is representing in the archive_command configuration that the PostgreSQL documentation is showing as the format on how to set up this parameter archive_command = 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/s