I am creating a mysql dump file for import into postgresql. I use:
mysqldump -u username -p --compatible=postgresql databasename > outputfile.sql
Now I have a problem with sentences INSERT, if there is a Boolean column, the MySql dump writes this value to the file as 0 or 1 (true or false), but when I import the dump with psql, this program requires the value for the logical fields to be "true" or false.
Any solution?
source
share