Fix PostgreSQL backend compilation.