hacker mechanism for m$access -> pgsql on different language systems
В списке pgsql-hackers по дате отправления:
| От | Jaume Teixi |
|---|---|
| Тема | hacker mechanism for m$access -> pgsql on different language systems |
| Дата | |
| Msg-id | 20010223164916.72afec0a.teixi@6tems.com обсуждение |
| Список | pgsql-hackers |
Hi, 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 produces: --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.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера