Skip site navigation (1) Skip section navigation (2)

Re: BUG #6479: Wrong Slash in pg_restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6479: Wrong Slash in pg_restore
Date: 2012-02-21 20:38:22
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
John R Pierce <pierce(at)hogranch(dot)com> writes:
> On 02/21/12 6:22 AM, mikekeller987(at)frontier(dot)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

In response to

pgsql-bugs by date

Next:From: eshkinkotDate: 2012-02-21 21:25:15
Subject: BUG #6480: NLS text width problem
Previous:From: John R PierceDate: 2012-02-21 18:28:12
Subject: Re: BUG #6479: Wrong Slash in pg_restore

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group