Compatibility with PostgreSQL

Avoid "The auto-commit mode cannot be changed for this driver".

Oups ! I forgot to delete this line :
$this->database->setAttribute(PDO::ERRMODE_SILENT, PDO::ERRMODE_EXCEPTION);

just before that :
if($this->databaseDriver != "pgsql")