I get this when I call toString on an object I received from a function call. I know the type of the object is encoded in this string, but I don't know how to read it.
What is this type of encoding called?
I get this when I call toString on an object I received from a function call. I know the type of the object is encoded in this string, but I don't know how to read it.
What is this type of encoding called?
If you are here because of the Liquibase error saying:
Caused By: Precondition Error
...
Can't detect type of array [Ljava.lang.Short
and you are using
not {
indexExists()
}
precondition multiple times, then you are facing an old bug: https://liquibase.jira.com/browse/CORE-1342
We can try to execute an above check using bare sqlCheck(Postgres):
SELECT COUNT(i.relname)
FROM
pg_class t,
pg_class i,
pg_index ix
WHERE
t.oid = ix.indrelid
and i.oid = ix.indexrelid
and t.relkind = 'r'
and t.relname = 'tableName'
and i.relname = 'indexName';
where tableName - is an index table name and indexName - is an index name