archive_commnad parameter question - Mailing list pgsql-general

From Allie Crawford
Subject archive_commnad parameter question
Date
Msg-id CY4PR04MB04704227BFE53F5C5E799748D9499@CY4PR04MB0470.namprd04.prod.outlook.com
Whole thread Raw
Responses Re: archive_commnad parameter question  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: archive_commnad parameter question  (Gavan Schneider <list.pg.gavan@pendari.org>)
Re: archive_commnad parameter question  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Re: archive_commnad parameter question  (Alan Hodgson <ahodgson@lists.simkin.ca>)
List pgsql-general

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/server/archivedir/%f'  # Unix

 

Does anybody know what is “test” representing in this parameter configuration?

 

Thank in advance for your help on this.

 

Regards,

Allie

 

pgsql-general by date:

Previous
From: Reid Thompson
Date:
Subject: RE: could not read from hash-join temporary file: SUCCESS && DB goes into recovery mode
Next
From: Adrian Klaver
Date:
Subject: Re: archive_commnad parameter question