Re: 25.3. Continuous Archiving : Unix examples with Windows-style variables %-$

From: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
To: mi(dot)gh(at)alma(dot)ch, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: 25.3. Continuous Archiving : Unix examples with Windows-style variables %-$
Date: 2018-08-23 12:54:39
Message-ID: F053F62F-88ED-4649-A86D-42F2E43523E9@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Hi,

> On Aug 23, 2018, at 5:54 AM, PG Doc comments form <noreply(at)postgresql(dot)org> wrote:
>
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/9.4/static/continuous-archiving.html
> Description:
>
> Most examples in "25.3. Continuous Archiving and Point-in-Time Recovery
> (PITR)" use Unix commands and paths, but all variables are written as
> Windows batch file variables (Windows "%var" / Unix "$var”).

These are special variables that PostgreSQL replaces regardless of
operating system. Per the paragraph above the examples:

"In archive_command, %p is replaced by the path name of the
file to archive, while %f is replaced by only the file name.”

Thanks,

Jonathan

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Jonathan S. Katz 2018-08-23 15:28:02 Re: "System roles" mentioned in psql documentation
Previous Message PG Doc comments form 2018-08-23 09:54:13 25.3. Continuous Archiving : Unix examples with Windows-style variables %-$