From d5a0ab0c16cc13a47814712e5845487144ed4145 Mon Sep 17 00:00:00 2001
From: dancermak <>
Date: Feb 06 2025 15:09:14 +0000
Subject: Update postgres-13-image to rev 36 via SR 1243417
https://build.opensuse.org/request/show/1243417
by user dancermak + anag+factory
🤖: sync package with devel:BCI:Tumbleweed from OBS
---
diff --git a/.files b/.files
index 9be2e38..ef4a852 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 3debbbf..5c5be2f 100644
--- a/.rev
+++ b/.rev
@@ -247,4 +247,44 @@
🤖: sync package with devel:BCI:Tumbleweed from OBS1228053
+
+ 7c90b4737581fc8f210ec7d6390b01b8
+ unknown
+
+ anag+factory
+ 🤖: sync package with devel:BCI:Tumbleweed from OBS
+ 1234395
+
+
+ 3d51c229e15069b70f3d039136c78067
+ unknown
+
+ anag+factory
+ 🤖: sync package with devel:BCI:Tumbleweed from OBS
+ 1240979
+
+
+ 5281b084127e106452ee0bbca879eafd
+ unknown
+
+ anag+factory
+ 🤖: sync package with devel:BCI:Tumbleweed from OBS
+ 1241248
+
+
+ cf014912accc04135e1a4264c17c9380
+ unknown
+
+ anag+factory
+ 🤖: sync package with devel:BCI:Tumbleweed from OBS
+ 1241666
+
+
+ b5428ef6f2f575c27f78d0d7fbe2b310
+ unknown
+
+ anag+factory
+ 🤖: sync package with devel:BCI:Tumbleweed from OBS
+ 1243417
+
diff --git a/Dockerfile b/Dockerfile
index f038e85..01fbe78 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: PostgreSQL
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
diff --git a/README.md b/README.md
index 6719c82..58ee4aa 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,10 @@ $ podman run -it --rm -p 5432:5432 -e POSTGRES_PASSWORD=my-password -v /path/to/
PostgreSQL data directory location.
+**Note 1:** The directory must be empty for `initdb` to create a new database.
+
+**Note 2:** If the volume points either to a file system mount point, a remote folder that cannot be owned by the `postgres` user, or a location that already contains files (including `lost+found` and dotfiles), a new subdirectory for storing the PostgreSQL data must be created within the `PGDATA` volume.
+
## Environment variables
The PostgreSQL image uses several environment variables to configure the database initialization.
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
index 6f59993..d09b538 100644
--- a/docker-entrypoint.sh
+++ b/docker-entrypoint.sh
@@ -104,7 +104,7 @@ docker_init_database_dir() {
# assumes database is not set up, ie: [ -z "$DATABASE_ALREADY_EXISTS" ]
docker_verify_minimum_env() {
case "${PG_MAJOR:-}" in
- 12 | 13) # https://github.com/postgres/postgres/commit/67a472d71c98c3d2fa322a1b4013080b20720b98
+ 13) # https://github.com/postgres/postgres/commit/67a472d71c98c3d2fa322a1b4013080b20720b98
# check password first so we can output the warning before postgres
# messes it up
if [ "${#POSTGRES_PASSWORD}" -ge 100 ]; then
@@ -252,7 +252,7 @@ pg_setup_hba_conf() {
printf '\n'
if [ 'trust' = "$POSTGRES_HOST_AUTH_METHOD" ]; then
printf '# warning trust is enabled for all connections\n'
- printf '# see https://www.postgresql.org/docs/12/auth-trust.html\n'
+ printf '# see https://www.postgresql.org/docs/17/auth-trust.html\n'
fi
printf 'host all all all %s\n' "$POSTGRES_HOST_AUTH_METHOD"
} >> "$PGDATA/pg_hba.conf"
diff --git a/postgres-13-image.changes b/postgres-13-image.changes
index 90783c4..c13bd22 100644
--- a/postgres-13-image.changes
+++ b/postgres-13-image.changes
@@ -1,4 +1,19 @@
-------------------------------------------------------------------
+Wed Feb 5 10:30:31 UTC 2025 - SUSE Update Bot
+
+- remove handling for outdated postgresql versions
+
+-------------------------------------------------------------------
+Wed Jan 29 14:06:29 UTC 2025 - SUSE Update Bot
+
+- update README to add hints about the persistent volume requirements
+
+-------------------------------------------------------------------
+Wed Jan 1 14:13:48 UTC 2025 - SUSE Update Bot
+
+- update copyright year
+
+-------------------------------------------------------------------
Tue Dec 3 13:26:37 UTC 2024 - SUSE Update Bot
- Change attribute order in _service