8000 Comparing reneleonhardt:master...docker-library:master · reneleonhardt/postgres-docker · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: reneleonhardt/postgres-docker 8000
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: docker-library/postgres
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 7 commits
  • 57 files changed
  • 3 contributors

Commits on Jun 4, 2025

  1. add postgres 18 beta1

    reneleonhardt authored and yosifkit committed Jun 4, 2025
    Configuration menu
    Copy the full SHA
    d1e97f2 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2025

  1. Merge pull request docker-library#1344 from reneleonhardt/chore/add-p…

    …ostgres-18
    
    chore: add postgres 18 beta1
    yosifkit authored Jun 6, 2025
    Configuration menu
    Copy the full SHA
    c257dcc View commit details
    Browse the repository at this point in the history
  2. Change PGDATA in 18+ to /var/lib/postgresql/MAJOR/docker

    This is a pretty large breaking change, which is why this only makes the change in 18+ (which is currently in pre-release stages, and not due for GA until September, and pre-release `PGDATA` directories are officially *not supported* on the GA release anyhow).
    
    Concretely, this changes `PGDATA` to `/var/lib/postgresql/MAJOR/docker`, which matches the pre-existing convention/standard of the `pg_ctlcluster`/`postgresql-common` set of commands, and frankly is what we should've done to begin with, in a classic case of Chesterton's Fence (https://en.wikipedia.org/wiki/Wikipedia:Chesterton%27s_fence).
    
    This also changes the `VOLUME` to `/var/lib/postgresql`, which should be more reasonable, and make the upgrade constraints more obvious.
    
    For any users who have been testing the pre-releases, the simplest way to keep your existing data directory is going to be to add `PGDATA=/var/lib/postgresql/data` as an environment variable on your container or adjust your bind-mount from `/var/lib/postgresql/data` to `/var/lib/postgresql/18/docker`, but the *best* way is going to be to refactor your host directory such that your data lives at `18/docker` inside and you can then mount directly to `/var/lib/postgresql` (possibly setting `PGDATA=/var/lib/postgresql/MAJOR/docker` as well, if you want to go overboard on being explicit).
    tianon committed Jun 6, 2025
    Configuration menu
    Copy the full SHA
    b9a533c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2c6fe8d View commit details
    Browse the repository at this point in the history
  4. Merge pull request docker-library#1259 from infosiftr/pgdata-cluster

    Change `PGDATA` in 18+ to `/var/lib/postgresql/MAJOR/docker`
    yosifkit authored Jun 6, 2025
    Configuration menu
    Copy the full SHA
    6ec0e42 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2025

  1. Only install 18+ JIT package on architectures where it's supported

    See:
    
    - https://salsa.debian.org/postgresql/postgresql/-/commit/eaa9529d8ecb0beaeebeb5b09362dbdf4ce34c0c
      "Make LLVM architectures a inclusion list so it works in the Architecture field."
      (which removes i386, notably)
    
    - https://salsa.debian.org/postgresql/postgresql/-/commit/1d6f624592d18d0cb0d694675037984f0d44b5ae
      "Disable JIT on loong64 and riscv64 again, still segfaulting."
    tianon committed Jun 9, 2025
    Configuration menu
    Copy the full SHA
    46e8474 View commit details
    Browse the repository at this point in the history
  2. Merge pull request docker-library#1345 from infosiftr/conditional-jit

    Only install 18+ JIT package on architectures where it's supported
    yosifkit authored Jun 9, 2025
    Configuration menu
    Copy the full SHA
    38b3c10 View commit details
    Browse the repository at this point in the history
Loading
0