From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | markir(at)coretech(dot)co(dot)nz, 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 03:21:53 |
Message-ID: | 411990D1.7000106@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 pgsql-patches |
Bruce Momjian wrote:
>OK, I would like to get a 100% solution here. The change of / to \
>really only handles part of our problem, and doesn't deal with
>directories with spaces like "Program Files".
>
>We need a 100% solution for Win32 for this. I know we have been around
>with the quote test but we need to keep going. initdb and pg_ctl had
>similar problems but we got it working 100% after some effort, and we
>need to do the same here.
>
>
>
Actually, it appears to me that we have a 100% solution. The user can
build quotes into the command quite easily, so that handles the spaces
issue, and we do know that backslashes always work, so expanding %p with
backslashes handles that part of it.
(Side note about the patch that was applied: the system-dependent path
representation probably belongs in path.c, so we could avoid those
#ifdef WIN32 bits that Tom hates so much ... )
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Rajesh Kumar Mallah | 2004-08-11 03:48:18 | Re: error moving table to tablespace (8.0 beta win32 ) |
Previous Message | Bruce Momjian | 2004-08-11 03:14:28 | Re: PITR on Win32 - Archive and Restore |
From | Date | Subject | |
---|---|---|---|
Next Message | Aleksander Kmetec | 2004-08-11 04:00:27 | Re: Win32 PostgreSQL 8.0 Beta 1 Installer available |
Previous Message | Bruce Momjian | 2004-08-11 03:14:28 | Re: PITR on Win32 - Archive and Restore |