From: | Jaume Teixi <teixi(at)6tems(dot)com> |
---|---|
To: | psql-sql <pgsql-sql(at)postgresql(dot)org>, psql-admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | HELP: m$ access -> psql howto ? |
Date: | 2001-02-23 11:04:30 |
Message-ID: | 20010223120430.7daa8a12.teixi@6tems.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-hackers pgsql-sql |
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.
From | Date | Subject | |
---|---|---|---|
Next Message | Hannu Krosing | 2001-02-23 11:09:37 | Re: [HACKERS] Re: v7.1b4 bad performance |
Previous Message | John Hatfield | 2001-02-23 05:30:27 | RE: select * from pgadmin_users; causes error |
From | Date | Subject | |
---|---|---|---|
Next Message | Hannu Krosing | 2001-02-23 11:09:37 | Re: [HACKERS] Re: v7.1b4 bad performance |
Previous Message | Rainer Mager | 2001-02-23 08:42:27 | RE: Problem with 7.0.3 dump -> 7.1b4 restore |
From | Date | Subject | |
---|---|---|---|
Next Message | Jaruwan Laongmal | 2001-02-23 11:14:34 | ask for help !!! (emergency case) |
Previous Message | CM | 2001-02-23 09:16:20 | Re: CREATE TABLE AS and ORDER BY |