fix creating and dropping database on PostgreSQL
Merge branch 'hotfix/backport-#757-DBAL-1093-to-2.5' into 2.5