code: private void setDate(int i, LocalDate localDate) throws SQLException {
      int oid = Oid.DATE;
      bindString(i, connection.getTimestampUtils().toString(localDate), oid);
    }
docs: #if mvn.project.property.postgresql.jdbc.spec >= "JDBC4.2"