From 5423e5cd2c7b1537585635e276af3da7cd9f8284 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Sun, 1 Oct 2023 19:32:10 +0200 Subject: [PATCH] [bitnami/postgresql-repmgr] Release 11.21.0-debian-11-r48 (#50651) Signed-off-by: Bitnami Containers --- bitnami/postgresql-repmgr/11/debian-11/Dockerfile | 4 ++-- .../11/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitnami/postgresql-repmgr/11/debian-11/Dockerfile b/bitnami/postgresql-repmgr/11/debian-11/Dockerfile index 37fb7f1e090b..8aff8be1ed07 100644 --- a/bitnami/postgresql-repmgr/11/debian-11/Dockerfile +++ b/bitnami/postgresql-repmgr/11/debian-11/Dockerfile @@ -7,10 +7,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-09-27T13:37:59Z" \ + org.opencontainers.image.created="2023-09-30T14:43:04Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="11.21.0-debian-11-r47" \ + org.opencontainers.image.ref.name="11.21.0-debian-11-r48" \ org.opencontainers.image.title="postgresql-repmgr" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="11.21.0" diff --git a/bitnami/postgresql-repmgr/11/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql-repmgr/11/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh index 572dd54b60d7..b66e8c5a581e 100644 --- a/bitnami/postgresql-repmgr/11/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql-repmgr/11/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"