Re: Problems with pg_dump

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: papapep <papapep@gmx.net>
Cc: pgsql-novice@postgresql.org
Date: 2002-12-16T19:19:45Z
Lists: pgsql-novice
papapep <papapep@gmx.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