PostgreSQL not working in DB Manager (Fix #8191)