From: Jaume Teixi <teixi@6tems.com>
To: psql-admin <pgsql-admin@postgresql.org>
Subject: non postgres user need to perform COPY
Date: Tue, 27 Mar 2001 18:35:19 +0200
Message-ID: <20010327183519.43caf9dc.teixi@6tems.com> (raw)
Hello,
I'm setting up a php interface for a customer massive update of a database
by previously sending a comma separated file trought ftp or a http-file
system.
Now I found that only postgres user is able to perform COPY's.
"
You must have Postgres superuser privilege to do a COPY directly to or
from a file.
Anyone can COPY to stdout or from stdin. Psql's \copy command also works
for anyone.
"
is it right to do it trought postgres user ?
whats the differents between COPY and Psql's \copy as stated above ?
thanks,
teixi from barcelona.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: teixi@6tems.com
Subject: Re: non postgres user need to perform COPY
In-Reply-To: <20010327183519.43caf9dc.teixi@6tems.com>
References: <20010327183519.43caf9dc.teixi@6tems.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