When i connect to 8.0.3 database the methode getColumnDisplaySize return 3, a good value When i connect to 8.1.2 or 8.1.3 database the methode getColumnDisplaySize return -5, a bad value.
I saw the source of the JDBC Driver and i saw the difference is in data read on socket in the method receiveFields in QueryExecutorImpl class. When i connect to 8.0.3 database, on this line of the method : ... int typeModifier = pgStream.ReceiveIntegerR(4); ... typeModifier is set to 7.
When i conenct to 8.1.2 or 8.1.3, typeModifier is set to -1