gt-jdbc-postgis tests fail against PostgreSQL 9.6 because most columns of the pg_am table have been removed, causing tests to fail with org.postgresql.util.PSQLException: ERROR: column am.amcanorder does not exist (see attached logs).
The fix is included in JDBC driver 9.4.1209 and later:
I propose that GeoTools master and 15.x be upgraded to 9.4.1211 (latest stable).
postgresql-9.6 9.6~rc1-1+b1 / postgresql-9.6-postgis-2.3 2.3.0~rc1+dfsg-1~exp2 on debian unstable (with postgis from experimental)
as far as I know, this is just a bugfix upgrade 9.4-1201-jdbc41 -> 9.4.1211:
According to the docs, this driver supports PostgreSQL 7.2 or later. This is the recommended driver for most users:
The other change is moving from the driver built for JDK7 to one built for JDK8 / JDBC 4.2. The JDBC driver patch needed to fix gt-jdbc-postgis just adds a check to see if the database is 9.6 and then avoids using the removed column.
Assuming if this is merged on master I can mark it as fixed by 16-RC
Yes, Jody, that is correct, it should be in the changelog for 16-RC1. I held it open as I will backport to 15.x after 15.2, but really resolving it is the right thing to do.
Merged on 15.x for inclusion in 15.3.