Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Maybe we can mark GIN indexes as invalid after pg_upgrade somehow, so
> that they require reindex in the new cluster before they can be used for
> queries or index updates.
Bumping the version number in the GIN metapage would be sufficient.
regards, tom lane