Issue 481: Further extensions to PgServer to support better support PG JDBC, patch from Andrew Franklin.