From: ria ulfa <riakdr@gmail.com>
To: pgsql-admin@postgresql.org
Subject: ask...!!!
Date: Tue, 1 Jul 2008 15:18:59 +0700
Message-ID: <9c3360200807010118v31c1b7f2l349839cd9b04aaaa@mail.gmail.com> (raw)
In-Reply-To: <9c3360200807010112g781b4521v88b1fd2c7c400b8c@mail.gmail.com>
References: <9c3360200807010112g781b4521v88b1fd2c7c400b8c@mail.gmail.com>
i use linux fedora 7 and database PostgreSQL 8.
i want to copy table in postgre to a file.
i used code : simps=# COPY log TO '/root/documents/log.sql';
note= simps: name of database
but there is error: could not open file "/root/documents/log.sql" for
writing: Permission denied
what can i do for repair this error??
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: riakdr@gmail.com
Subject: Re: ask...!!!
In-Reply-To: <9c3360200807010118v31c1b7f2l349839cd9b04aaaa@mail.gmail.com>
* 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