LEDGE-218: Connection.isValid is not implemented in JDBC driver for
Postgres 9.1, perform a simple query instead. That's what current master
PG JDBC driver does.