Access import

From: "Marc Zandvliet" <marc(at)auroraworks(dot)com>
To: <pgsql-novice(at)hub(dot)org>
Subject: Access import
Date: 2000-08-30 18:43:19
Message-ID: LJEMIBPPIBGEBAAPNFGKEEINCAAA.marc@auroraworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2000-08-30 18:47:04 Re: 7.0.2 regressions testing on Sparc running 2.5.1
Previous Message ghaverla 2000-08-30 16:26:53 Re: 7.0.2 regressions testing on Sparc running 2.5.1