archive_commnad parameter question

From: Allie Crawford <CrawfordMA(at)ChurchofJesusChrist(dot)org>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: archive_commnad parameter question
Date: 2021-04-19 21:09:13
Message-ID: CY4PR04MB04704227BFE53F5C5E799748D9499@CY4PR04MB0470.namprd04.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2021-04-19 21:16:41 Re: archive_commnad parameter question
Previous Message Reid Thompson 2021-04-19 16:54:16 RE: could not read from hash-join temporary file: SUCCESS && DB goes into recovery mode

Browse pgsql-hackers by date

  From Date Subject
Next Message Adrian Klaver 2021-04-19 21:16:41 Re: archive_commnad parameter question
Previous Message Robert Haas 2021-04-19 21:08:51 Re: Allowing to create LEAKPROOF functions to non-superuser