Discussion:
[Liquibase-user] New Topic: Error with PostgresDatabaseSnapshotGenerator.getColumnsForUniqueConstraint
Liquibase Community Forum
2010-12-22 15:02:42 UTC
Permalink
A new topic, 'Error with PostgresDatabaseSnapshotGenerator.getColumnsForUniqueConstraint', has been made on a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=857.new#new

The text of the topic is shown below:

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 (***@7d6d4e3e) ) is rejected.
I think the code shoudn't rely on a particular format of the toString().

Best regards.

Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The Liquibase Community Forum Team.

Loading...