Re: PITR on Win32 - Archive and Restore

From: markir(at)coretech(dot)co(dot)nz
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: PITR on Win32 - Archive and Restore
Date: 2004-08-11 02:59:40
Message-ID: 1092193180.d703b8efa2d14@mail.coretech.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches

Quoting Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>:
They work because your working directory is c:\Program Files\
Try the last 3 tests again, but cd to c:\ (for example) first (they will fail
then).

>
> OK, as a data point, why does this work on XP using a CMD.EXE window:
>
> C:\Program Files>echo > "a b"
>
> C:\Program Files>copy "a b" "c d"
> 1 file(s) copied.
>
> C:\Program Files>copy "c:/program files/c d" "e f"
> 1 file(s) copied.
>
> C:\Program Files>copy "c:/program files/e f" "c:/program files/g h"
> 1 file(s) copied.
>
> C:\Program Files>cmd /c copy "c:/program files/e f" "c:/program files/g h"
> 1 file(s) copied.
>
> I don't think we actually need the backslash conversion. I do think we will
>

In response to

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Andrew Dunstan 2004-08-11 02:59:43 Re: PITR on Win32 - Archive and Restore
Previous Message Bruce Momjian 2004-08-11 02:27:03 Re: PITR on Win32 - Archive and Restore

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-08-11 02:59:43 Re: PITR on Win32 - Archive and Restore
Previous Message Bruce Momjian 2004-08-11 02:27:03 Re: PITR on Win32 - Archive and Restore