fixed a typo in pg_lib
created a class to export the mysql contents to csv for fast copy into
postgresql
the export works fine, need test with blob data