COPY ERROR - Mailing list pgsql-general

From paulo matadr
Subject COPY ERROR
Date
Msg-id 32476.95498.qm@web52507.mail.re2.yahoo.com
Whole thread Raw
Responses Re: COPY ERROR  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
List pgsql-general
Hi all,
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?

Regards

Paul



Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - Celebridades - Música - Esportes

pgsql-general by date:

Previous
From: Arthur Turrini
Date:
Subject: Re: Side effect of synchronous_commit = off
Next
From: Stefan Keller
Date:
Subject: Re: hstore equality-index performance question