Postgres compat in SQLQueryTest