alpine: add support for PostgreSQL 18#73
Conversation
|
ログの場所が変わっているっぽい。ログというかPGDATAの場所。 |
|
https://hub.docker.com/_/postgres の以下の記載からPGDATAが Important Change: the PGDATA environment 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 replace 18 with their respective major version (e.g., /var/lib/postgresql/19/docker for PostgreSQL 19.x). The defined VOLUME was 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 --link when running pg_upgrade and mounting /var/lib/postgresql. |
|
All "Test" jobs are failing. Is it expected? |
|
Failing "Test" jobs are expected because we haven't pushed tags for 4.0.0 yet. |
We specify PGDATA explicitly.
Because PGDATA is changed to "/var/lib/postgresql/18/docker" since PostgreSQL 18 image.
See: docker-library/postgres#1259