pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Jaume Teixi <teixi@rocacorbit.com>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [HACKERS] COPY as non super user
Date: Sun, 2 Feb 2003 07:24:50 -0500 (EST)
Message-ID: <200302021224.h12COqF08323@candle.pha.pa.us> (raw)
In-Reply-To: <20030131111304.597a8549.teixi@rocacorbit.com>


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



view thread (3+ messages)

Message-ID: <200302021224.h12COqF08323@candle.pha.pa.us>
Permalink:  ../200302021224.h12COqF08323@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200302021224.h12COqF08323@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pgman@candle.pha.pa.us, teixi@rocacorbit.com, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] COPY as non super user
  In-Reply-To: <200302021224.h12COqF08323@candle.pha.pa.us>
  References: <20030131111304.597a8549.teixi@rocacorbit.com> <200302021224.h12COqF08323@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox