From: Jaume Teixi <teixi@6tems.com>
To: psql-sql <pgsql-sql@postgresql.org>
To: psql-admin <pgsql-admin@postgresql.org>
Date: Fri, 23 Feb 2001 12:18:31 +0100
Message-ID: <20010223121831.2007589d.teixi@6tems.com> (raw)
Hi,
I cannot use any kind of odbc because my customers have his local m$
access db's locally then export them on .txt with tab or | separated, then
put on my server trought ftp.
and is working ok except that the customers are on spanish databases then
a data like:
--DATE-----NAME---------LANG------
1/6/2000|Ferran AdriĆ |Castellano|
when sended trought ftp on my server is converted to:
--DATE-----NAME------------LANG------
1/6/2000|Ferran Adri\xe0|Castellano|
so when imported on Postgresql with:
COPY products FROM '/var/lib/postgres/iii2.txt' USING DELIMITERS '|' \g
--DATE-----NAME-----------------------LANG------
1/6/2000|Ferran Adri\xe0|Castellano|NULL
on the same cell, ignoring the '|' completelly
on 'postmaster.init' I have: LANG=es_ES but doesnt' works...
using tabulators as a separators also causes same problem...
any pointers to solve this will be really apreciated
the other problem is that if a m$ access database has a return carraige on
a text cell the import also fails.
bests from barcelona,
teixi.
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: teixi@6tems.com, pgsql-sql@postgresql.org
Subject: Re:
In-Reply-To: <20010223121831.2007589d.teixi@6tems.com>
* 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