File tree Expand file tree Collapse file tree 4 files changed +10
-36
lines changed
Expand file tree Collapse file tree 4 files changed +10
-36
lines changed Original file line number Diff line number Diff line change @@ -103,24 +103,6 @@ docker_init_database_dir() {
103103# print large warning if POSTGRES_HOST_AUTH_METHOD is set to 'trust'
104104# assumes database is not set up, ie: [ -z "$DATABASE_ALREADY_EXISTS" ]
105105docker_verify_minimum_env () {
106- case " ${PG_MAJOR:- } " in
107- 13) # https://github.com/postgres/postgres/commit/67a472d71c98c3d2fa322a1b4013080b20720b98
108- # check password first so we can output the warning before postgres
109- # messes it up
110- if [ " ${# POSTGRES_PASSWORD} " -ge 100 ]; then
111- cat >&2 << -'EOWARN '
112-
113- WARNING: The supplied POSTGRES_PASSWORD is 100+ characters.
114-
115- This will not work if used via PGPASSWORD with "psql".
116-
117- https://www.postgresql.org/message-id/flat/E1Rqxp2-0004Qt-PL%40wrigleys.postgresql.org (BUG #6412)
118- https://github.com/docker-library/postgres/issues/507
119-
120- EOWARN
121- fi
122- ;;
123- esac
124106 if [ -z " $POSTGRES_PASSWORD " ] && [ ' trust' != " $POSTGRES_HOST_AUTH_METHOD " ]; then
125107 # The - option suppresses leading tabs but *not* spaces. :)
126108 cat >&2 << -'EOE '
Original file line number Diff line number Diff line change 1+ -------------------------------------------------------------------
2+ Fri Nov 14 10:42:54 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
3+
4+ - docker-entrypoint: remove now obsolete code path
5+
16-------------------------------------------------------------------
27Thu Nov 6 08:20:39 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
38
Original file line number Diff line number Diff line change @@ -103,24 +103,6 @@ docker_init_database_dir() {
103103# print large warning if POSTGRES_HOST_AUTH_METHOD is set to 'trust'
104104# assumes database is not set up, ie: [ -z "$DATABASE_ALREADY_EXISTS" ]
105105docker_verify_minimum_env () {
106- case " ${PG_MAJOR:- } " in
107- 13) # https://github.com/postgres/postgres/commit/67a472d71c98c3d2fa322a1b4013080b20720b98
108- # check password first so we can output the warning before postgres
109- # messes it up
110- if [ " ${# POSTGRES_PASSWORD} " -ge 100 ]; then
111- cat >&2 << -'EOWARN '
112-
113- WARNING: The supplied POSTGRES_PASSWORD is 100+ characters.
114-
115- This will not work if used via PGPASSWORD with "psql".
116-
117- https://www.postgresql.org/message-id/flat/E1Rqxp2-0004Qt-PL%40wrigleys.postgresql.org (BUG #6412)
118- https://github.com/docker-library/postgres/issues/507
119-
120- EOWARN
121- fi
122- ;;
123- esac
124106 if [ -z " $POSTGRES_PASSWORD " ] && [ ' trust' != " $POSTGRES_HOST_AUTH_METHOD " ]; then
125107 # The - option suppresses leading tabs but *not* spaces. :)
126108 cat >&2 << -'EOE '
Original file line number Diff line number Diff line change 1+ -------------------------------------------------------------------
2+ Fri Nov 14 10:42:54 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
3+
4+ - docker-entrypoint: remove now obsolete code path
5+
16-------------------------------------------------------------------
27Thu Nov 6 08:20:39 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
38
You can’t perform that action at this time.
0 commit comments