Received: from island.6tems.com ([195.77.213.6]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2RGXJw29553 for ; Tue, 27 Mar 2001 11:33:21 -0500 (EST) (envelope-from teixi@6tems.com) Received: from thinkpad (studio.6tems.com [213.96.34.17]) (authenticated (0 bits)) by island.6tems.com (8.11.1/8.11.1/Islandmail 8.11.0-6) with ESMTP id f2RGTAU18020 for ; Tue, 27 Mar 2001 18:29:11 +0200 X-Authentication-Warning: island.6tems.com: Host studio.6tems.com [213.96.34.17] claimed to be thinkpad Date: Tue, 27 Mar 2001 18:35:19 +0200 From: Jaume Teixi To: psql-admin Subject: non postgres user need to perform COPY Message-Id: <20010327183519.43caf9dc.teixi@6tems.com> X-Mailer: Sylpheed version 0.4.62 (GTK+ 1.2.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/196 X-Sequence-Number: 1043 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.