I'd like the JDBC driver's Array implementations to return primitive arrays when I call getArray(). I can force this behaviour by passing &compatible=8.2 in my JDBCUrl, but then I can't transfer the arrays from the database via the binary protocol, as that requires a minimum compatible version of 8.3. I've attached a patch that makes the driver recognise a forcePrimitives boolean flag in the JDBCUrl, and if it sees this it will return primitive arrays, not object arrays.