pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
COPY as non super user
3+ messages / 3 participants
[nested] [flat]

* COPY as non super user
@ 2003-01-31 10:13 Jaume Teixi <teixi@rocacorbit.com>
  2003-02-01 06:44 ` Re: COPY as non super user Bruno Wolff III <bruno@wolff.to>
  2003-02-02 12:24 ` Re: [HACKERS] COPY as non super user Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 2 replies; 3+ messages in thread

From: Jaume Teixi @ 2003-01-31 10:13 UTC (permalink / raw)
  To: pgsql-hackers@postgresql.org; pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: COPY as non super user
  2003-01-31 10:13 COPY as non super user Jaume Teixi <teixi@rocacorbit.com>
@ 2003-02-01 06:44 ` Bruno Wolff III <bruno@wolff.to>
  1 sibling, 0 replies; 3+ messages in thread

From: Bruno Wolff III @ 2003-02-01 06:44 UTC (permalink / raw)
  To: Jaume Teixi <teixi@rocacorbit.com>; +Cc: pgsql-hackers@postgresql.org; pgsql-admin

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.



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [HACKERS] COPY as non super user
  2003-01-31 10:13 COPY as non super user Jaume Teixi <teixi@rocacorbit.com>
@ 2003-02-02 12:24 ` Bruce Momjian <pgman@candle.pha.pa.us>
  1 sibling, 0 replies; 3+ messages in thread

From: Bruce Momjian @ 2003-02-02 12:24 UTC (permalink / raw)
  To: Jaume Teixi <teixi@rocacorbit.com>; +Cc: pgsql-hackers@postgresql.org; pgsql-admin


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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-02-02 12:24 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-31 10:13 COPY as non super user Jaume Teixi <teixi@rocacorbit.com>
2003-02-01 06:44 ` Bruno Wolff III <bruno@wolff.to>
2003-02-02 12:24 ` Bruce Momjian <pgman@candle.pha.pa.us>

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