Apparently, specifying a minor release version is not sufficient to prevent data compatibility bugs between postgres container/image versions that appear in local systems. These manifest e.g. as:
local-postgres-1 | 2024-08-12 18:02:04.032 UTC [39] WARNING: database "unify" has a collation version mismatch
A workaround is to connect to the local system container with:
psql -h localhost -p 4335 -U unify
And run:
ALTER DATABASE unify REFRESH COLLATION VERSION;
Whenever this happens, but better to lock down to a tighter docker-compose version and not subject users to this.
Apparently, specifying a minor release version is not sufficient to prevent data compatibility bugs between postgres container/image versions that appear in local systems. These manifest e.g. as:
A workaround is to connect to the local system container with:
And run:
Whenever this happens, but better to lock down to a tighter docker-compose version and not subject users to this.