Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 1ACDE116A13A for ; Tue, 21 Feb 2012 16:38:36 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RzwTr-00082J-2I for pgsql-bugs@postgresql.org; Tue, 21 Feb 2012 20:38:35 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q1LKcMbI025326 for ; Tue, 21 Feb 2012 15:38:22 -0500 (EST) To: pgsql-bugs@postgresql.org Subject: Re: BUG #6479: Wrong Slash in pg_restore In-reply-to: <4F43E23C.7010303@hogranch.com> References: <4F43E23C.7010303@hogranch.com> Comments: In-reply-to John R Pierce message dated "Tue, 21 Feb 2012 10:28:12 -0800" Date: Tue, 21 Feb 2012 15:38:22 -0500 Message-ID: <25325.1329856702@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/163 X-Sequence-Number: 32506 John R Pierce writes: > On 02/21/12 6:22 AM, mikekeller987@frontier.com wrote: >> I haven't been able to get pg_restore to restore a backup from pg_dump. >> When doing a restore from a Directory backup I noticed that pg_restore is >> using a forward slash instead of the required back slash when searching for >> toc.dat. I suspect that it is also doing the same thing for custom and tar >> backups as well. > windows filesystem APIs are perfectly happy with forward slashes in > paths, always have been. ISTM we've heard of Windows antivirus add-ons that break this, which of course is just one of many varieties of fail in that industry. But yeah, the stated complaint is not by itself a bug, and it would help a lot if the OP had shown us what he's doing and what happens instead of jumping to conclusions about why it's not working for him. regards, tom lane