fix pgsql database dump