Postgres
Collation version mismatch in Postgres
You may encounter Postgres warning logs about a collation version mismatch, for example:
WARNING:  database "xyz" has a collation version mismatch
DETAIL:  The database was created using collation version 2.31, but the operating system provides version 2.42.
HINT:  Rebuild all objects in this database that use the default collation and run ALTER DATABASE xyz REFRESH COLLATION VERSION, or build PostgreSQL with the right library version.
ALTER DATABASE xyz REFRESH COLLATION VERSION;
REINDEX DATABASE
Reindexing locks the database, so it’s best to run this command during a short maintenance window.