Access import

Поиск
Список
Период
Сортировка
От Marc Zandvliet
Тема Access import
Дата
Msg-id LJEMIBPPIBGEBAAPNFGKEEINCAAA.marc@auroraworks.com
обсуждение исходный текст
Ответы Re: Access import  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
I'm trying to import a small Access db into a linux-based psql database via
a delimited text file. I've set up the table to reflect the fields etc. The
last field of the database is boolean which Access exports as 0 or 1. When I
try to import I get this:

mydb=> copy new_table from '/tmp/exported.txt' using delimiters '|';
'RROR:  Bad boolean external representation '1
mydb=>

I've checked the source text file and the last field doesn't have the '
before the 1.

Any suggestions? This should be straight forward right?

Thanks for any assistance,

Marc


В списке pgsql-novice по дате отправления:

Предыдущее
От: ghaverla@freenet.edmonton.ab.ca
Дата:
Сообщение: Re: 7.0.2 regressions testing on Sparc running 2.5.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 7.0.2 regressions testing on Sparc running 2.5.1