in the directory "lib \ site-packages \ py_mysql2pgsql-0.1.6-py2.7.egg \ mysql2pgsql \ lib" edit the file 76 postgres_writer.py a
of
elif column['type'] == 'datetime':
to
elif column['type'] == 'datetime' or column['type'].startswith('datetime('):
I ran into the same problem, this solution worked for me.
javed source share