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: 23439.1040066385@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message papapep 2002-12-16 19:27:42 Re: Problems with pg_dump
Previous Message Oliver Elphick 2002-12-16 19:13:21 Re: Problems with pg_dump