Hi all,
I am using p6spy to log all queries but it causes PostgresDatabaseSnapshotGenerator.getColumnsForUniqueConstraint to fail.
The failure seems to be due to the fact that the result of a toString() on a java.sql.Array is then used as a parameter for an sql query.
The resulting sql ( select attname,attnum from pg_attribute where attrelid = ? and attnum in (com.p6spy.engine.spy.P6Array@7d6d4e3e) ) is rejected.
I think the code shoudn’t rely on a particular format of the toString().
Best regards.