Commit Graph

23 Commits

Author SHA1 Message Date
Tianon Gravi 5ec8931249 Remove intentionally-breaking "data" symlink and add better detection
This allows for a more graceful error message for the case of users who need to update their volume path.

I tested this with 17 and `--env PGDATA=/var/lib/postgresql/17/docker` (to make sure it still works fine and doesn't complain about the extra volume provided by Docker/`VOLUME`) and 18 with `-v /var/lib/postgresql/data` (where it appropriately errors and explains to me what I should be doing instead).

I also did a reflow on some text in the error message that's designed to fit in 80 columns but was taking 81. 😂
2025-10-15 11:23:03 -07:00
Docker Library Bot 87e6f65859 Update 17 to trixie 17.6-2.pgdg13+1, bookworm 17.6-2.pgdg12+1 2025-09-25 11:02:43 -07:00
Tianon Gravi a2433755c7 Update gosu to 1.19 2025-09-23 12:31:05 -07:00
Tianon Gravi a3b3bfabd3 Update gosu to 1.18 2025-09-08 13:04:25 -07:00
Peter A. Jonsson abab72cc73 debian: align postgres repo url with docs
The PostgreSQL documentation for packages
(https://www.postgresql.org/download/linux/ubuntu/)
does not have a trailing slash.
2025-09-03 23:48:27 +02:00
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
Tianon Gravi 2c6fe8daca Add logic to error out on detection of "old databases" 2025-06-06 11:27:47 -07:00
Joseph Ferguson d9c4773ca5 Update apt build depend 2025-05-21 17:48:07 -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 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
Joseph Ferguson 042d8d043f Remove PostgreSQL 12 since it is end of life 2025-02-03 16:55:44 -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
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 b64a17080e Update 17 to 17.1, bookworm 17.1-1.pgdg120+1, bullseye 17.1-1.pgdg110+1 2024-11-14 11:48:01 -08:00
Docker Library Bot 172544062d Update 17 to 17.0, bookworm 17.0-1.pgdg120+1, bullseye 17.0-1.pgdg110+1 2024-09-26 11:19:57 -07:00
Docker Library Bot eaa1c35769 Update 17 to 17rc1, bookworm 17~rc1-1.pgdg120+1, bullseye 17~rc1-1.pgdg110+1 2024-09-05 06:44:37 -07:00
Docker Library Bot 805329e7a6 Update 17 to 17beta3, bookworm 17~beta3-1.pgdg120+1, bullseye 17~beta3-1.pgdg110+1 2024-08-08 10:34:59 -07:00
Tianon Gravi a09f1c441f Use `install` instead of `mkdir && chown && chmod` 2024-07-08 15:18:09 -07:00
Docker Library Bot 9bf5a6d620 Update 17 to 17beta2, bookworm 17~beta2-1.pgdg120+1, bullseye 17~beta2-1.pgdg110+1 2024-07-01 17:03:06 -07:00
Laurent Goderre 41402ac3d1 Add 17 beta1
Fixes #1243
2024-05-29 17:09:26 -04:00