Re: PITR on Win32 - Archive and Restore
От | Andrew Dunstan |
---|---|
Тема | Re: PITR on Win32 - Archive and Restore |
Дата | |
Msg-id | 4938.24.211.141.25.1092162228.squirrel@www.dunslane.net обсуждение исходный текст |
Ответ на | Re: PITR on Win32 - Archive and Restore (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: PITR on Win32 - Archive and Restore
|
Список | pgsql-hackers-win32 |
Tom Lane said: > 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. > That's what my experimentation showed, although I worked with a tiny test.c file rather than the archive command. I think this is the right solution - the user should put the quotes in, not postgres. cheers andrew
В списке pgsql-hackers-win32 по дате отправления: