non postgres user need to perform COPY

From: Jaume Teixi <teixi(at)6tems(dot)com>
To: psql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: non postgres user need to perform COPY
Date: 2001-03-27 16:35:19
Message-ID: 20010327183519.43caf9dc.teixi@6tems.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

Browse pgsql-admin by date

  From Date Subject
Next Message David Lizano 2001-03-27 17:00:21 Re: search on accents over all possible matches
Previous Message Jaume Teixi 2001-03-27 16:24:14 search on accents over all possible matches