Fix bug Pgsql
Fix pgSQL bug
Fix PgSQL
Merge pull request #888 from FHenry/3.3

Fix bug Pgsql