commit postgres-14-image for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package postgres-14-image for openSUSE:Factory checked in at 2024-01-03 12:32:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgres-14-image (Old) and /work/SRC/openSUSE:Factory/.postgres-14-image.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "postgres-14-image" Wed Jan 3 12:32:00 2024 rev:5 rq:1136359 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/postgres-14-image/postgres-14-image.changes 2023-10-26 17:15:14.954098411 +0200 +++ /work/SRC/openSUSE:Factory/.postgres-14-image.new.28375/postgres-14-image.changes 2024-01-03 12:32:45.120499021 +0100 @@ -1,0 +2,5 @@ +Tue Jan 2 08:26:58 UTC 2024 - Dirk Mueller <dmueller@suse.com> + +- update year to 2024 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Dockerfile ++++++ --- /var/tmp/diff_new_pack.Yp1E3y/_old 2024-01-03 12:32:45.532514096 +0100 +++ /var/tmp/diff_new_pack.Yp1E3y/_new 2024-01-03 12:32:45.536514242 +0100 @@ -1,6 +1,6 @@ # SPDX-License-Identifier: MIT -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ docker-entrypoint.sh ++++++ --- /var/tmp/diff_new_pack.Yp1E3y/_old 2024-01-03 12:32:45.592516291 +0100 +++ /var/tmp/diff_new_pack.Yp1E3y/_new 2024-01-03 12:32:45.592516291 +0100 @@ -103,20 +103,24 @@ # print large warning if POSTGRES_HOST_AUTH_METHOD is set to 'trust' # assumes database is not set up, ie: [ -z "$DATABASE_ALREADY_EXISTS" ] docker_verify_minimum_env() { - # check password first so we can output the warning before postgres - # messes it up - if [ "${#POSTGRES_PASSWORD}" -ge 100 ]; then - cat >&2 <<-'EOWARN' - - WARNING: The supplied POSTGRES_PASSWORD is 100+ characters. - - This will not work if used via PGPASSWORD with "psql". - - https://www.postgresql.org/message-id/flat/E1Rqxp2-0004Qt-PL%40wrigleys.post... (BUG #6412) - https://github.com/docker-library/postgres/issues/507 - - EOWARN - fi + case "${PG_MAJOR:-}" in + 12 | 13) # https://github.com/postgres/postgres/commit/67a472d71c98c3d2fa322a1b4013080b... + # check password first so we can output the warning before postgres + # messes it up + if [ "${#POSTGRES_PASSWORD}" -ge 100 ]; then + cat >&2 <<-'EOWARN' + + WARNING: The supplied POSTGRES_PASSWORD is 100+ characters. + + This will not work if used via PGPASSWORD with "psql". + + https://www.postgresql.org/message-id/flat/E1Rqxp2-0004Qt-PL%40wrigleys.post... (BUG #6412) + https://github.com/docker-library/postgres/issues/507 + + EOWARN + fi + ;; + esac if [ -z "$POSTGRES_PASSWORD" ] && [ 'trust' != "$POSTGRES_HOST_AUTH_METHOD" ]; then # The - option suppresses leading tabs but *not* spaces. :) cat >&2 <<-'EOE' @@ -225,6 +229,7 @@ : "${POSTGRES_HOST_AUTH_METHOD:=}" declare -g DATABASE_ALREADY_EXISTS + : "${DATABASE_ALREADY_EXISTS:=}" # look specifically for PG_VERSION, as it is expected in the DB dir if [ -s "$PGDATA/PG_VERSION" ]; then DATABASE_ALREADY_EXISTS='true'
participants (1)
-
Source-Sync