PostgreSQL backend fix
PostgreSQL backend fix, 2nd try