Closed Arnagos closed 2 years ago
Seems like the Loader does not set this value for PostgreSQL.
The query set in the constructor of the same class doesn't even request the required column.
Adding ix.indisunique as index_is_unique,
to the select should provide the necessary value for this.
And if you want to ignore the primary key indices ix.indisprimary as index_is_primary,
should help.
I just noticed that the index type is not set either. Maybe ix.indisclustered
can help with this?
When loading a schema from a PostgreSQL database the
IsUnique
property on indices is alwaysfalse
.The index was created with this SQL:
And prompting the database to generate a creation script generates this SQL:
Based on this I'm pretty sure it's a loader issue.