1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-11-10 04:42:21 +03:00
Commit Graph

926 Commits

Author SHA1 Message Date
Docker Library Bot
e34fc9d23c Update 17 to 17.6, trixie 17.6-1.pgdg13+1, bookworm 17.6-1.pgdg12+1 2025-08-14 10:12:46 -07:00
Docker Library Bot
1cb68aee8f Update 16 to 16.10, trixie 16.10-1.pgdg13+1, bookworm 16.10-1.pgdg12+1 2025-08-14 09:56:05 -07:00
Docker Library Bot
b8ab4185a3 Update 15 to 15.14, trixie 15.14-1.pgdg13+1, bookworm 15.14-1.pgdg12+1 2025-08-14 09:40:39 -07:00
Docker Library Bot
836ebeb884 Update 14 to 14.19, trixie 14.19-1.pgdg13+1, bookworm 14.19-1.pgdg12+1 2025-08-14 09:25:20 -07:00
Docker Library Bot
1984f1787a Update 13 to 13.22, trixie 13.22-1.pgdg13+1, bookworm 13.22-1.pgdg12+1 2025-08-14 09:07:16 -07:00
yosifkit
78b0bca69b Merge pull request #1354 from infosiftr/trixie
Add Debian Trixie (remove Bullseye)
2025-08-11 16:31:17 -07:00
Tianon Gravi
176bc3c3f0 Add Debian Trixie (remove Bullseye)
Also, update `versions.json` sorting to be saner/stabler.
2025-08-08 10:41:29 -07:00
Docker Library Bot
889f9447cd Update 18 to 18beta2, bookworm 18~beta2-1.pgdg120+1, bullseye 18~beta2-1.pgdg110+1 2025-07-18 11:03:02 -07:00
yosifkit
38b3c10a48 Merge pull request #1345 from infosiftr/conditional-jit
Only install 18+ JIT package on architectures where it's supported
2025-06-09 15:02:10 -07:00
Tianon Gravi
46e8474a6e Only install 18+ JIT package on architectures where it's supported
See:

- eaa9529d8e
  "Make LLVM architectures a inclusion list so it works in the Architecture field."
  (which removes i386, notably)

- 1d6f624592
  "Disable JIT on loong64 and riscv64 again, still segfaulting."
2025-06-09 14:23:06 -07:00
yosifkit
6ec0e42428 Merge pull request #1259 from infosiftr/pgdata-cluster
Change `PGDATA` in 18+ to `/var/lib/postgresql/MAJOR/docker`
2025-06-06 12:01:16 -07:00
Tianon Gravi
2c6fe8daca Add logic to error out on detection of "old databases" 2025-06-06 11:27:47 -07:00
Tianon Gravi
b9a533c87b 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).
2025-06-06 11:27:31 -07:00
yosifkit
c257dcc6cf Merge pull request #1344 from reneleonhardt/chore/add-postgres-18
chore: add postgres 18 beta1
2025-06-06 11:25:15 -07:00
Rene Leonhardt
d1e97f29ba add postgres 18 beta1 2025-06-04 15:38:23 -07:00
yosifkit
86e50408e6 Merge pull request #1342 from infosiftr/alpine3.22
Add Alpine 3.22 (remove Alpine 3.20)
2025-05-30 15:13:08 -07:00
Tianon Gravi
172d9e7dbc Add Alpine 3.22 (remove Alpine 3.20) 2025-05-30 14:09:41 -07:00
Tianon Gravi
833dab59cc Merge pull request #1341 from infosiftr/drop-pgdg-keyring
Update apt build depend
2025-05-22 09:25:57 -07:00
Joseph Ferguson
d9c4773ca5 Update apt build depend 2025-05-21 17:48:07 -07:00
Tianon Gravi
437897caba Merge pull request #1340 from infosiftr/update
Update to 17.5, 16.9, 15.13, 14.18, 13.21
2025-05-08 18:55:18 +00:00
Tianon Gravi
b23470265c Remove explicit config.guess/config.sub updates
When we added these lines, we needed newer files than PostgreSQL had upstream, but the situation has changed and we were pinned to a specific commit from 2017 - the _oldest_ PostgreSQL release version has a file from 2020.
2025-05-08 11:32:48 -07:00
Tianon Gravi
266748257c Update to 17.5, 16.9, 15.13, 14.18, 13.21 2025-05-08 10:29:08 -07:00
Paul Liétar
cc254e85ed Unset NOTIFY_SOCKET when running the temporary server. (#1325)
* Unset NOTIFY_SOCKET when running the temporary server.

Postgres has native support for this notification socket and will write a `READY=1` message once it is ready and accepting connections. Unfortunately, the temporary server used by the `docker-entrypoint.sh` also sends a message on the socket, making it appear as though the container is ready and serving connections when it is not.
2025-02-26 16:53:12 -08:00
Docker Library Bot
729d22b104 Update 17 to 17.4, bookworm 17.4-1.pgdg120+2, bullseye 17.4-1.pgdg110+2 2025-02-20 11:59:30 -08:00
Docker Library Bot
ce5da348e7 Update 16 to 16.8, bookworm 16.8-1.pgdg120+1, bullseye 16.8-1.pgdg110+1 2025-02-20 11:44:40 -08:00
Docker Library Bot
807e218040 Update 15 to 15.12, bookworm 15.12-1.pgdg120+1, bullseye 15.12-1.pgdg110+1 2025-02-20 11:30:20 -08:00
Docker Library Bot
dabb1fcefb Update 14 to 14.17, bookworm 14.17-1.pgdg120+1, bullseye 14.17-1.pgdg110+1 2025-02-20 11:16:15 -08:00
Docker Library Bot
2f7aa21430 Update 13 to 13.20, bookworm 13.20-1.pgdg120+1, bullseye 13.20-1.pgdg110+1 2025-02-20 11:02:25 -08:00
Docker Library Bot
a537d6002b Update 17 to bookworm 17.3-3.pgdg120+1, bullseye 17.3-3.pgdg110+1 2025-02-16 11:03:06 -08:00
Docker Library Bot
22dad776d9 Update 17 to 17.3, bookworm 17.3-1.pgdg120+1, bullseye 17.3-1.pgdg110+1 2025-02-13 11:01:08 -08:00
Docker Library Bot
c17c1aad6b Update 16 to 16.7, bookworm 16.7-1.pgdg120+1, bullseye 16.7-1.pgdg110+1 2025-02-13 10:46:14 -08:00
Docker Library Bot
607fdbdadc Update 15 to 15.11, bookworm 15.11-1.pgdg120+1, bullseye 15.11-1.pgdg110+1 2025-02-13 10:31:47 -08:00
Docker Library Bot
4bc3d04127 Update 14 to 14.16, bookworm 14.16-1.pgdg120+1, bullseye 14.16-1.pgdg110+1 2025-02-13 10:17:09 -08:00
Docker Library Bot
7da49aaa6a Update 13 to 13.19, bookworm 13.19-1.pgdg120+1, bullseye 13.19-1.pgdg110+1 2025-02-13 10:01:24 -08:00
Tianon Gravi
3521b2f752 Merge pull request #1312 from infosiftr/eol-12
Remove PostgreSQL 12 since it is end of life
2025-02-04 11:42:03 -08:00
Joseph Ferguson
042d8d043f Remove PostgreSQL 12 since it is end of life 2025-02-03 16:55:44 -08:00
Docker Library Bot
e2a43025b1 Update 12 to bookworm 12.22-2.pgdg120+1, bullseye 12.22-2.pgdg110+1 2025-01-24 05:02:25 -08:00
Jeremy Schneider
32b6fcdda7 Remove inaccurate references to corruption, remove SEGTERM suggestion… (#1303)
* Remove inaccurate references to corruption, remove SEGTERM suggestion, update information links to current docs. Postgres is carefully designed such that data is not corrupted on crashes or unclean shutdowns - the main tradeoff is that WAL replay is needed on startup. In practice, SIGTERM can cause unexpected long delays to shutdowns - often during maintenance windows - so best not to actively suggest this. The links back to official Postgres documentation seem sufficient.
2025-01-09 09:56:49 -08:00
Tianon Gravi
cb049360d9 Simplify and update verify-templating.yml
This makes it print out a diff when there is an error (instead of just a list of files that are wrong), which will make the error more obvious.
2024-12-13 15:02:43 -08:00
Tianon Gravi
1577814922 Merge pull request #1299 from infosiftr/alpine
In Alpine 3.21 bump llvm version
2024-12-06 13:45:51 -08:00
Joseph Ferguson
17818f21dc In Alpine 3.21 bump llvm version
Fixes #1296
2024-12-05 16:14:30 -08:00
yosifkit
0f542bc35e Merge pull request #1298 from paolobarbolini/alpine3.21
Update Alpine to 3.21
2024-12-05 15:57:18 -08:00
Paolo Barbolini
1075ab7060 Update Alpine to 3.21 2024-12-05 22:12:14 +00:00
Docker Library Bot
0b87a9bbd2 Update 17 to 17.2, bookworm 17.2-1.pgdg120+1, bullseye 17.2-1.pgdg110+1 2024-11-21 12:16:44 -08:00
Docker Library Bot
960ebdf14e Update 16 to 16.6, bookworm 16.6-1.pgdg120+1, bullseye 16.6-1.pgdg110+1 2024-11-21 12:14:24 -08:00
Docker Library Bot
50b4cdb50e Update 15 to 15.10, bookworm 15.10-1.pgdg120+1, bullseye 15.10-1.pgdg110+1 2024-11-21 12:12:11 -08:00
Docker Library Bot
c444845833 Update 14 to 14.15, bookworm 14.15-1.pgdg120+1, bullseye 14.15-1.pgdg110+1 2024-11-21 12:09:59 -08:00
Docker Library Bot
9fadd0e250 Update 13 to 13.18, bookworm 13.18-1.pgdg120+1, bullseye 13.18-1.pgdg110+1 2024-11-21 12:07:48 -08:00
Docker Library Bot
5f590b8df7 Update 12 to 12.22, bookworm 12.22-1.pgdg120+1, bullseye 12.22-1.pgdg110+1 2024-11-21 12:05:42 -08:00
Tianon Gravi
7a1418a24d Update README
See https://github.com/docker-library/docs/pull/2503
2024-11-21 10:50:21 -08:00