Compatibility with PostgreSQL

Avoid "The auto-commit mode cannot be changed for this driver"
Merge pull request #1 from Jack3113/patch-1

Fix a bug displaying error on mode change with PgSQL