Method Values_StringCollationIndexState()
Whether _values has a trigram index that serves (_String COLLATE "$1") ILIKE: a GIN index of one
key column with opclass gin_trgm_ops over _string under collation $1. PostgreSQL stores
(_String COLLATE "c") as the column itself with a collation of its own, not as an expression, so the key
column is matched by attribute and collation. Matched by structure, not by name: an index made by hand under any
name counts. Column Valid: NULL when there is none, false when every one is INVALID (an interrupted
CONCURRENTLY build), true when one is usable. Column Ctype: the ctype of the database, which decides what
pg_trgm takes for a letter (under C it finds no trigrams in a non-ASCII word, whatever the collation).
The collation is resolved with to_regcollation(quote_ident($1)), the way the COLLATE "$1" of the
search resolves it (search path, pg_catalog first), not by pg_collation.collname: a collation of the same
name in another schema would match the name and still serve no search. Params: $1 = collation name.
public string Values_StringCollationIndexState()