Re: COPY as non super user - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: COPY as non super user
Date
Msg-id 200302021224.h12COqF08323@candle.pha.pa.us
Whole thread Raw
In response to COPY as non super user  (Jaume Teixi <teixi@rocacorbit.com>)
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Windows Build System - My final thoughts
Next
From: Kurt Roeckx
Date:
Subject: Re: Linux.conf.au 2003 Report