Skip to content

[Proposal]: postgres 18 and major version #3871

@widowild1

Description

@widowild1

Proposal Summary

update a documentation and docker-compose.yaml for postgres 18

Motivation and Context

Hello,
I have just reported that since Postgres 18 has changed the path of a folder under Docker, this should be added to the documentation and a switchover should be planned in docker-compose.yaml

Changing from postgres =< postgres 17
foo:/var/lib/postgresql/data

To >= postgres 18

foo:/var/lib/postgresql/MAJOR/docker

For example, for version 19, we get:

foo:/var/lib/postgresql/19/docker

tianon/docker-postgres-upgrade#120
docker-library/postgres#1259
https://hub.docker.com/_/postgres/

Proposed Solution

Changing from postgres =< postgres 17
foo:/var/lib/postgresql/data

To >= postgres 18

foo:/var/lib/postgresql/MAJOR/docker

For example, for version 19, we get:

foo:/var/lib/postgresql/19/docker

tianon/docker-postgres-upgrade#120
docker-library/postgres#1259
https://hub.docker.com/_/postgres/

Alternatives Considered

No response

Impact and Risks

Confusion during major Postgres updates

Additional Context or References

No response

Checklist

  • I have reviewed existing proposals to ensure this change hasn't been proposed before.
  • I agree to provide follow-up updates and maintain discussion on this proposal.
  • I agree to follow the project's contribution guidelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions