From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: PITR on Win32 - Archive and Restore |
Date: | 2004-08-09 16:02:49 |
Message-ID: | 4117A029.5040905@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 pgsql-patches |
Tom Lane wrote:
>Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>
>
>>Tom Lane wrote:
>>
>>
>>>As I said before, I'm willing to #ifdef the code so that the string
>>>substituted for %p converts all / to \ on Windows. What I'd like to
>>>know is whether that's enough to solve the problems, particularly in
>>>face of spaces in the path, or whether we'll still be in quoting hell.
>>>
>>>
>
>
>
>>Names with spaces will need to be quoted :-(
>>
>>
>
>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).
>Strictly speaking, people probably ought to use something like
> archive_command = 'cp "%p" ...'
>on Unix too, so if this is what it takes on Windows I'm satisfied.
>Just wondering about what other gotchas Redmond has prepared for us...
>
>
>
>
Yes, it's just that Unix people (or at least those of us who are
professionals) usually have more sense that to put spaces in file names ...
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2004-08-09 16:03:00 | Re: [Pginstaller-devel] RE: Win32 PostgreSQL 8.0 Beta 1 Installer available |
Previous Message | Tom Lane | 2004-08-09 15:49:15 | Re: PITR on Win32 - Archive and Restore |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-08-09 16:08:36 | Re: PITR on Win32 - Archive and Restore |
Previous Message | Tom Lane | 2004-08-09 15:49:15 | Re: PITR on Win32 - Archive and Restore |