After the managed Postgres 17 upgrade, the database logs are continuously flooded with warnings: database "template1" has a collation version mismatch (error code 01000), recurring roughly every 60 seconds and burying everything else in the logs UI. Running ALTER DATABASE postgres REFRESH COLLATION VERSION clears the mismatch for the postgres database, but the template1 warnings persist. The same statement for template1 fails with ERROR 42501: must be owner of database template1, because managed users lack the privileges to touch the system template catalogs. The issue is a log-bloat nuisance that does not break functionality, but the reporter confirmed support had to resolve it.
Log bloat with "has a collation version mismatch" warnings on template1 after Postgres 17 upgrade
Fix your own databases first with ALTER DATABASE postgres REFRESH COLLATION VERSION; (run once per user database) — that clears the mismatch everywhere except the template databases. template1 requires superuser, so you cannot self-serve: it fails with ERROR 42501 (must be owner of database template1). The verified path is a Supabase support ticket asking them to refresh template1's collation version with internal superuser access — the reporter filed a ticket and confirmed support manually resolved it for their project, and multiple other users confirmed the same behavior on their projects after the Postgres 17 upgrade. Until the platform ships a fleet-wide fix, the ticket is the only resolution; the warnings are harmless log noise in the meantime. Source: https://github.com/supabase/supabase/issues/47860