X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 708BBD1B899 for ; Mon, 1 Sep 2003 07:40:13 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 13245-08 for ; Mon, 1 Sep 2003 04:39:44 -0300 (ADT) Received: from smtp-out.tiscali.be (spoolo2.tiscali.be [62.235.13.211]) by svr1.postgresql.org (Postfix) with ESMTP id 38169D1B8AC for ; Mon, 1 Sep 2003 04:39:42 -0300 (ADT) Received: from [62.235.112.154] (helo=personnezd2hg1) by smtp-out.tiscali.be with smtp (Tiscali) id 19tjHr-0004At-00 for ; Mon, 01 Sep 2003 09:39:43 +0200 Message-ID: <001501c3705b$f1927cf0$9a70eb3e@personnezd2hg1> From: "stessy" To: Subject: pg_atoi: error in.....: can't parse..." Date: Mon, 1 Sep 2003 09:37:48 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01C3706C.B4C0A9D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=HTML_50_60 X-Spam-Level: X-Archive-Number: 200309/2 X-Sequence-Number: 10090 This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C3706C.B4C0A9D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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"::t= ext,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. ------=_NextPart_000_0012_01C3706C.B4C0A9D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hi all,
 
I have this error "pg_atoi: error in "PAR= C=20 INDUSTRIEL": can't parse "PARC INDUSTRIEL" "   when I try to= copy=20 data from  file to database.
 
The 2 databases have the same encoding=20 'LATIN1'.
 
The data types are all the same in two=20 tables.
 
These are alls requests I use to copy=20 data.
 
First database
 
psql gravoline
 
CREATE TABLE  adr AS SELECT(id_client= ,=20 rue::text,num::text,"code postal"::text,localite::text) from=20 adresse;
 
COPY adr to '/usr/adr.sql' USING DELIMITER= S=20 '|';
 
Second database
 
psql pdg
 
COPY adresse FROM '/usr/adr.sql' USING DEL= IMITERS=20 '|';
 
 
 
 
ps: excuse for my english.
 
 
------=_NextPart_000_0012_01C3706C.B4C0A9D0--