From 228fc84ab0532bb776e3c6e9a282bfb33d60dd96 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 29 Sep 2023 06:54:12 +0200 Subject: [PATCH] [bitnami/postgresql] Release 14.9.0-debian-11-r47 (#50368) Signed-off-by: Bitnami Containers --- bitnami/postgresql/14/debian-11/Dockerfile | 4 ++-- .../14/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitnami/postgresql/14/debian-11/Dockerfile b/bitnami/postgresql/14/debian-11/Dockerfile index 994a2c119da0..4e79c0879545 100644 --- a/bitnami/postgresql/14/debian-11/Dockerfile +++ b/bitnami/postgresql/14/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-26T00:45:06Z" \ + org.opencontainers.image.created="2023-09-28T02:15:52Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="14.9.0-debian-11-r45" \ + org.opencontainers.image.ref.name="14.9.0-debian-11-r47" \ org.opencontainers.image.title="postgresql" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="14.9.0" diff --git a/bitnami/postgresql/14/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/14/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh index 572dd54b60d7..b66e8c5a581e 100644 --- a/bitnami/postgresql/14/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/14/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"