paulo matadr wrote:
> When I try to import big file base.txt( 700MB),I get this:
> 
> xxxxx=# create table arquivo_serasa_marco( varchar(3000));
> xxxxx=# COPY arquivo_serasa_marco from 
> '/usr/local/pgsql/data/base.txt';
> ERROR:  literal newline found in data
> HINT:  Use "\n" to represent newline.
> CONTEXT:  COPY arquivo_serasa_marco, line 2: ""
> 
> How can find solution for this?

The file does not seem to be in valid COPY format.

What is the format of the file?

Yours,
Laurenz Albe

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to