| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Jaume Teixi <teixi(at)rocacorbit(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: [HACKERS] COPY as non super user |
| Date: | 2003-02-02 12:24:50 |
| Message-ID: | 200302021224.h12COqF08323@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | mallah | 2003-02-02 13:02:28 | Re: returning table from a function |
| Previous Message | Bruce Momjian | 2003-02-02 10:23:16 | Re: pg_restore and the use of encryption |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kurt Roeckx | 2003-02-02 12:38:36 | Re: Linux.conf.au 2003 Report |
| Previous Message | Bruce Momjian | 2003-02-02 12:21:58 | Re: Windows Build System - My final thoughts |