Re: loading files into tables - Mailing list pgsql-general

From Ivan Sergio Borgonovo
Subject Re: loading files into tables
Date
Msg-id 20080204174245.09bb87a6@webthatworks.it
Whole thread Raw
In response to Re: loading files into tables  ("Pau Marc Munoz Torres" <paumarc@gmail.com>)
List pgsql-general
On Mon, 4 Feb 2008 17:21:00 +0100
"Pau Marc Munoz Torres" <paumarc@gmail.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


pgsql-general by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: [pgsql-advocacy] PostgreSQL Certification
Next
From: "Selena Deckelmann"
Date:
Subject: Re: [pgsql-advocacy] PostgreSQL Certification