Re: PITR on Win32 - Archive and Restore

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: PITR on Win32 - Archive and Restore
Дата
Msg-id 41180554.7060900@coretech.co.nz
обсуждение исходный текст
Ответ на Re: PITR on Win32 - Archive and Restore  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PITR on Win32 - Archive and Restore
Список pgsql-hackers-win32
The only down side is now we have 2 classes of parameters in
postgresql.conf:

- ones that accept forward slash names (log_directory)
- ones that only work with backslashes (archive_command)

The other option was to consider making the archiver change working
directory to pg_xlog, then the
forward slashed names will work (going by experiments with copy).

regards

Mark

Tom Lane wrote:

>Andrew Dunstan <andrew@dunslane.net> writes:
>
>
>>Tom Lane wrote:
>>
>>
>>>But does that have to be done in the code, or will
>>>archive_command = 'copy "%p" ...'
>>>work?
>>>
>>>
>
>
>
>>That should work just fine (or with xcopy).
>>
>>
>
>Okay, I'll change %p to emit \ on Windows, and we'll see where that
>takes us.
>
>            regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>               http://archives.postgresql.org
>
>

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

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: [Pginstaller-devel] RE: Win32 PostgreSQL
Следующее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: PITR on Win32 - Archive and Restore