From 5f65b09d086094ea90ed4b1745b43b5020d42374 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 27 Sep 2023 18:25:24 +0200 Subject: [PATCH] [bitnami/postgresql] Release 16.0.0-debian-11-r2 (#50148) Signed-off-by: Bitnami Containers --- bitnami/postgresql/16/debian-11/Dockerfile | 4 ++-- .../16/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitnami/postgresql/16/debian-11/Dockerfile b/bitnami/postgresql/16/debian-11/Dockerfile index 5d2917a4934f..2deeea28bac2 100644 --- a/bitnami/postgresql/16/debian-11/Dockerfile +++ b/bitnami/postgresql/16/debian-11/Dockerfile @@ -9,10 +9,10 @@ ARG WITH_ALL_LOCALES="no" LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-09-26T07:36:00Z" \ + org.opencontainers.image.created="2023-09-27T15:08:56Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="16.0.0-debian-11-r0" \ + org.opencontainers.image.ref.name="16.0.0-debian-11-r2" \ org.opencontainers.image.title="postgresql" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="16.0.0" diff --git a/bitnami/postgresql/16/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/16/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh index 572dd54b60d7..b66e8c5a581e 100644 --- a/bitnami/postgresql/16/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/16/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh @@ -937,7 +937,7 @@ postgresql_configure_recovery() { local -r psql_major_version="$(postgresql_get_major_version)" if ((psql_major_version >= 12)); then postgresql_set_property "primary_conninfo" "host=${POSTGRESQL_MASTER_HOST} port=${POSTGRESQL_MASTER_PORT_NUMBER} user=${POSTGRESQL_REPLICATION_USER} password=${escaped_password} application_name=${POSTGRESQL_CLUSTER_APP_NAME}" "$POSTGRESQL_CONF_FILE" - postgresql_set_property "promote_trigger_file" "/tmp/postgresql.trigger.${POSTGRESQL_MASTER_PORT_NUMBER}" "$POSTGRESQL_CONF_FILE" + ((psql_major_version < 16)) && postgresql_set_property "promote_trigger_file" "/tmp/postgresql.trigger.${POSTGRESQL_MASTER_PORT_NUMBER}" "$POSTGRESQL_CONF_FILE" touch "$POSTGRESQL_DATA_DIR"/standby.signal else cp -f "$POSTGRESQL_BASE_DIR/share/recovery.conf.sample" "$POSTGRESQL_RECOVERY_FILE"