how should I use " COPY arti FROM 'ARTI.txt' USING DELIMITERS '|' " as normal user ?

Fri, 31 Jan 2003 11:13:04 +0100
Jaume Teixi <teixi@rocacorbit.com>
COPY as non super user
On Fri, Jan 31, 2003 at 11:13:04 +0100,
  Jaume Teixi <teixi@rocacorbit.com> wrote:
> how should I use " COPY arti FROM 'ARTI.txt' USING DELIMITERS '|' " as normal user ?

If you are using psql, use the \copy command.

Sat, 1 Feb 2003 00:44:53 -0600
Bruno Wolff III <bruno@wolff.to>
Re: COPY as non super user

You can't because the backend opens that file as the super-user.  You
can use \copy in psql as an normal user, though.


---------------------------------------------------------------------------

Jaume Teixi wrote:
> how should I use " COPY arti FROM 'ARTI.txt' USING DELIMITERS '|' " as normal user ?
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Sun, 2 Feb 2003 07:24:50 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] COPY as non super user