pg_atoi: error in.....: can't parse..." - Mailing list pgsql-admin

From stessy
Subject pg_atoi: error in.....: can't parse..."
Date
Msg-id 001501c3705b$f1927cf0$9a70eb3e@personnezd2hg1
Whole thread Raw
Responses Re: pg_atoi: error in.....: can't parse..."
List pgsql-admin
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.
 
 

pgsql-admin by date:

Previous
From: "Ian Huynh"
Date:
Subject: Re: Replication
Next
From: Sam Barnett-Cormack
Date:
Subject: Prompts in psql