From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #6479: Wrong Slash in pg_restore
Date: Tue, 21 Feb 2012 15:38:22 -0500
Message-ID: <25325.1329856702@sss.pgh.pa.us> (raw)
In-Reply-To: <4F43E23C.7010303@hogranch.com>
References: <E1Rzqbn-0000F9-Mh@wrigleys.postgresql.org>
<4F43E23C.7010303@hogranch.com>
John R Pierce <pierce@hogranch.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: BUG #6479: Wrong Slash in pg_restore
In-Reply-To: <25325.1329856702@sss.pgh.pa.us>
References: <E1Rzqbn-0000F9-Mh@wrigleys.postgresql.org> <4F43E23C.7010303@hogranch.com> <25325.1329856702@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox