Re: PITR on Win32 - Archive and Restore - Mailing list pgsql-hackers-win32

From Mark Kirkwood
Subject Re: PITR on Win32 - Archive and Restore
Date
Msg-id 41180554.7060900@coretech.co.nz
Whole thread Raw
In response to Re: PITR on Win32 - Archive and Restore  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PITR on Win32 - Archive and Restore  ("Andrew Dunstan" <andrew@dunslane.net>)
List 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 by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: [Pginstaller-devel] RE: Win32 PostgreSQL
Next
From: "Andrew Dunstan"
Date:
Subject: Re: PITR on Win32 - Archive and Restore