Re: loading files into tables

From: Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: loading files into tables
Date: 2008-02-04 16:42:45
Message-ID: 20080204174245.09bb87a6@webthatworks.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 4 Feb 2008 17:21:00 +0100
"Pau Marc Munoz Torres" <paumarc(at)gmail(dot)com> wrote:

> Ok
>
> I'm tryint to execute
>
> copy local from "/path" with delimiter "\t";
>
> and I get the following errors
>
> ERROR: must be superuser to COPY to or from a file.
>
> Can I do something similar to it without being superuser?
>
> for a Tab delimiter, should i use "\t" character?

The message should be longer and actually explain what to do.

you can \copy or copy from stdin.

You could find this helpful:

http://www.postgresql.org/docs/techdocs.15

--
Ivan Sergio Borgonovo
http://www.webthatworks.it

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Selena Deckelmann 2008-02-04 16:47:46 Re: PostgreSQL Certification
Previous Message Csaba Nagy 2008-02-04 16:38:31 Re: [GENERAL] PostgreSQL Certification