-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
#16850 で PostgreSQL 18 を使うようになりましたが、これに伴い compose_example.yml などに記述している postgres コンテナの volume のマウントパスを、 /var/lib/postgresql/data から /var/lib/postgresql へ変更する必要がありそうです。
参考:https://hub.docker.com/_/postgres#pgdata
Important Change: the
PGDATAenvironment variable of the image was changed to be version specific in PostgreSQL 18 and above. For 18 it is/var/lib/postgresql/18/docker. Later versions will replace18with their respective major version (e.g.,/var/lib/postgresql/19/dockerfor PostgreSQL19.x). The definedVOLUMEwas changed in 18 and above to/var/lib/postgresql. Mounts and volumes should be targeted at the updated location. This will allow users upgrading between PostgreSQL major releases to use the faster--linkwhen runningpg_upgradeand mounting/var/lib/postgresql.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status