From: stessy <stessydelcroix@tiscali.be>
To: pgsql-admin@postgresql.org
Subject: pg_atoi: error in.....: can't parse..."
Date: Mon, 1 Sep 2003 09:37:48 +0200
Message-ID: <001501c3705b$f1927cf0$9a70eb3e@personnezd2hg1> (raw)
hi all,
I have this error "pg_atoi: error in "PARC INDUSTRIEL": can't parse "PARC INDUSTRIEL" " when I try to copy data from file to database.
The 2 databases have the same encoding 'LATIN1'.
The data types are all the same in two tables.
These are alls requests I use to copy data.
First database
psql gravoline
CREATE TABLE adr AS SELECT(id_client, rue::text,num::text,"code postal"::text,localite::text) from adresse;
COPY adr to '/usr/adr.sql' USING DELIMITERS '|';
Second database
psql pdg
COPY adresse FROM '/usr/adr.sql' USING DELIMITERS '|';
ps: excuse for my english.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: stessydelcroix@tiscali.be
Subject: Re: pg_atoi: error in.....: can't parse..."
In-Reply-To: <001501c3705b$f1927cf0$9a70eb3e@personnezd2hg1>
References: <001501c3705b$f1927cf0$9a70eb3e@personnezd2hg1>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox