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

Re: Problems with pg_dump

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: papapep <papapep(at)gmx(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Problems with pg_dump
Date: 2002-12-16 19:19:45
Message-ID: (view raw or whole thread)
Lists: pgsql-novice
papapep <papapep(at)gmx(dot)net> writes:
> I forgot to tell you that the DATABASE.out file is a read only file. I 
> don-t know if its important, but....

You mean you're doing
	pg_dump ... >DATABASE.out
where DATABASE.out already exists and is marked read-only?  No wonder
it's failing.  Read-only status wouldn't be much protection if it didn't
fail, no?

Remove the old file, or chmod it to let you overwrite it.

			regards, tom lane

In response to


pgsql-novice by date

Next:From: papapepDate: 2002-12-16 19:27:42
Subject: Re: Problems with pg_dump
Previous:From: Oliver ElphickDate: 2002-12-16 19:13:21
Subject: Re: Problems with pg_dump

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