Skip to content

alpine: add support for PostgreSQL 18#73

Merged
kou merged 5 commits intopgroonga:mainfrom
komainu8:add-support-postgresql-18
Oct 3, 2025
Merged

alpine: add support for PostgreSQL 18#73
kou merged 5 commits intopgroonga:mainfrom
komainu8:add-support-postgresql-18

Conversation

@komainu8
Copy link
Member

@komainu8 komainu8 commented Oct 2, 2025

We specify PGDATA explicitly.
Because PGDATA is changed to "/var/lib/postgresql/18/docker" since PostgreSQL 18 image.
See: docker-library/postgres#1259

@komainu8
Copy link
Member Author

komainu8 commented Oct 2, 2025

ログの場所が変わっているっぽい。ログというかPGDATAの場所。

@komainu8
Copy link
Member Author

komainu8 commented Oct 2, 2025

https://hub.docker.com/_/postgres の以下の記載からPGDATAがvar/lib/postgresql/18/dockerになったらしい。


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.

@komainu8 komainu8 marked this pull request as ready for review October 2, 2025 08:48
@kou
Copy link
Member

kou commented Oct 2, 2025

All "Test" jobs are failing. Is it expected?

@otegami
Copy link
Contributor

otegami commented Oct 2, 2025

All "Test" jobs are failing. Is it expected?

@komainu8
I tried to fix this issue at the following PR. If the way to fix this issue is no-acceptable, could you close or modify it directly?
#74

@kou
Copy link
Member

kou commented Oct 3, 2025

Failing "Test" jobs are expected because we haven't pushed tags for 4.0.0 yet.

@kou kou merged commit 13631bc into pgroonga:main Oct 3, 2025
17 of 34 checks passed
@komainu8 komainu8 deleted the add-support-postgresql-18 branch October 3, 2025 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants