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

Поиск
Список
Период
Сортировка
От Jonathan S. Katz
Тема Re: 25.3. Continuous Archiving : Unix examples with Windows-stylevariables %-$
Дата
Msg-id F053F62F-88ED-4649-A86D-42F2E43523E9@postgresql.org
обсуждение исходный текст
Ответ на 25.3. Continuous Archiving : Unix examples with Windows-stylevariables %-$  (PG Doc comments form <noreply@postgresql.org>)
Ответы Re: 25.3. Continuous Archiving : Unix examples with Windows-stylevariables %-$  (Milivoj Ivkovic <mi.gh@alma.ch>)
Список pgsql-docs
Hi,

> On Aug 23, 2018, at 5:54 AM, PG Doc comments form <noreply@postgresql.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


Вложения

В списке pgsql-docs по дате отправления:

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: 25.3. Continuous Archiving : Unix examples with Windows-stylevariables %-$
Следующее
От: "Jonathan S. Katz"
Дата:
Сообщение: Re: "System roles" mentioned in psql documentation