fix failing PgSQL test