From 817081262286c34375529a538ea0c115c2ef8c4a Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 29 Sep 2023 23:16:27 +0200 Subject: [PATCH] [bitnami/postgresql] Release 12.16.0-debian-11-r47 (#50436) Signed-off-by: Bitnami Containers --- bitnami/postgresql/12/debian-11/Dockerfile | 4 ++-- .../12/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitnami/postgresql/12/debian-11/Dockerfile b/bitnami/postgresql/12/debian-11/Dockerfile index d58fbb599d17..f5afb22f4d53 100644 --- a/bitnami/postgresql/12/debian-11/Dockerfile +++ b/bitnami/postgresql/12/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-25T23:26:25Z" \ + org.opencontainers.image.created="2023-09-28T02:04:34Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="12.16.0-debian-11-r45" \ + org.opencontainers.image.ref.name="12.16.0-debian-11-r47" \ org.opencontainers.image.title="postgresql" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="12.16.0" diff --git a/bitnami/postgresql/12/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/12/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh index 572dd54b60d7..b66e8c5a581e 100644 --- a/bitnami/postgresql/12/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/12/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"