1
0

Accepting request 1243415 from devel:BCI:Tumbleweed

🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1243415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgres-12-image?expand=0&rev=36
This commit is contained in:
Ana Guerrero 2025-02-05 20:56:55 +00:00 committed by Git OBS Bridge
commit b40cbeae5a
2 changed files with 7 additions and 2 deletions

View File

@ -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"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 5 10:30:31 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
- remove handling for outdated postgresql versions
-------------------------------------------------------------------
Wed Jan 29 14:06:29 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>