On Mon, 26 Feb 2001 22:16:35 -0500 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Jaume Teixi <teixi(at)6tems(dot)com> writes:
> > I finally percated that when data contains 'ñ' or 'à' it's impossible
to
> > parse trought:
>
> > COPY products FROM '/var/lib/postgres/dadesi.txt' USING DELIMITERS '|'
\g
>
> > it causes:
>
> > SELECT edicion FROM products;
> > edicion
> > -----------------
> > España|Nacional <-------puts on the same cell either there's an '|'
in
> > the middle!!!
I finally, thanks to Oliver Elphick,
managed to create database with:
CREATE DATABASE "demo" WITH ENCODING = 'SQL_ASCII'
and data was imported OK, great, thanks!