Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package postgres-18-image for 
openSUSE:Factory checked in at 2025-10-23 16:37:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/postgres-18-image (Old)
 and      /work/SRC/openSUSE:Factory/.postgres-18-image.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "postgres-18-image"

Thu Oct 23 16:37:19 2025 rev:4 rq:1313062 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/postgres-18-image/postgres-18-image.changes      
2025-10-21 11:19:18.294068084 +0200
+++ 
/work/SRC/openSUSE:Factory/.postgres-18-image.new.1980/postgres-18-image.changes
    2025-10-23 16:37:32.218626375 +0200
@@ -1,0 +2,5 @@
+Wed Oct 22 10:30:28 UTC 2025 - SUSE Update Bot <[email protected]>
+
+- docker-entrypoint: updating instructions for postgresql 18+
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ docker-entrypoint.sh ++++++
--- /var/tmp/diff_new_pack.jjEYDE/_old  2025-10-23 16:37:32.890654702 +0200
+++ /var/tmp/diff_new_pack.jjEYDE/_new  2025-10-23 16:37:32.894654871 +0200
@@ -168,8 +168,14 @@
                               Counter to that, there appears to be PostgreSQL 
data in:
                                 ${OLD_DATABASES[*]}
 
-                              This is usually the result of upgrading the 
Docker image without upgrading
-                              the underlying database using "pg_upgrade" 
(which requires both versions).
+                              This is usually the result of upgrading the 
Docker image without
+                              upgrading the underlying database using 
"pg_upgrade" (which requires both
+                              versions).
+
+                              The suggested container configuration for 18+ is 
to place a single mount
+                              at /var/lib/postgresql which will then place 
PostgreSQL data in a
+                              subdirectory, allowing usage of "pg_upgrade 
--link" without mount point
+                              boundary issues.
 
                               See 
https://github.com/docker-library/postgres/issues/37 for a (long)
                               discussion around this process, and suggestions 
for how to do so.
@@ -264,6 +270,9 @@
                                OLD_DATABASES+=( "$d" )
                        fi
                done
+               if [ "${#OLD_DATABASES[@]}" -eq 0 ] && [ "$PG_MAJOR" -ge 18 ] 
&& mountpoint -q /var/lib/postgresql/data; then
+                       OLD_DATABASES+=( '/var/lib/postgresql/data (unused 
mount/volume)' )
+               fi
        fi
 }
 

Reply via email to