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

From Tom Lane
Subject Re: PITR on Win32 - Archive and Restore
Date
Msg-id 120.1092161511@sss.pgh.pa.us
Whole thread Raw
Responses Re: PITR on Win32 - Archive and Restore  ("Andrew Dunstan" <andrew@dunslane.net>)
List pgsql-hackers-win32
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I have gotten confused by this.  Does COPY work with quoted paths only
> if we use forward slashes, or was this fix just for the slash issue and
> not spaces?

This only fixes the slash issue.  If your database path includes spaces
you'll still need to put quotes in the archive_command, but it shouldn't
be any worse than
    archive_command = 'copy "%p" "c:\someplace\%f"'

I'd appreciate confirmation though from some win32 users that the above
indeed works.

            regards, tom lane

pgsql-hackers-win32 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PITR on Win32 - Archive and Restore
Next
From: Tom Lane
Date:
Subject: Re: PITR on Win32 - Archive and Restore