Make DatabaseError spec work on PostgreSQL 9.4

"SELECT" is valid SQL in PostgreSQL 9.4, returning a result set
with 0 columns and 1 row.