Another one! :) How to convert char(1) to boolean without re-exporting tables. - Mailing list pgsql-general

From Valerio Santinelli
Subject Another one! :) How to convert char(1) to boolean without re-exporting tables.
Date
Msg-id 36A49D88.E92C2B48@mediacom.it
Whole thread Raw
Responses Re: [GENERAL] Another one! :) How to convert char(1) to boolean without re-exporting tables.  (Herouth Maoz <herouth@oumail.openu.ac.il>)
List pgsql-general
Ok. This time it's a bit more difficult ;)

I'd like to convert my char(1) stuff to boolean without having to kill
the table and re-export the original from MSAccess. I think there's a
way to do that since just creating a new table with bool instead of
char(1) won't let me insert into it the values contained in the old
table seeing they're not of the same type.

Thanks as always!! :)

Valerio Santinelli
tanis@mediacom.it



pgsql-general by date:

Previous
From: Randy Dees
Date:
Subject: Access database from PostgreSQL?
Next
From: Herouth Maoz
Date:
Subject: Re: [GENERAL] Another one! :) How to convert char(1) to boolean without re-exporting tables.