diff --git a/bitnami/postgresql/10/debian-11/Dockerfile b/bitnami/postgresql/10/debian-11/Dockerfile index 02ec83aef075..1b65f1e27654 100644 --- a/bitnami/postgresql/10/debian-11/Dockerfile +++ b/bitnami/postgresql/10/debian-11/Dockerfile @@ -6,7 +6,7 @@ ARG WITH_ALL_LOCALES="no" LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ - org.opencontainers.image.ref.name="10.22.0-debian-11-r28" \ + org.opencontainers.image.ref.name="10.22.0-debian-11-r29" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/postgresql" \ org.opencontainers.image.title="postgresql" \ org.opencontainers.image.vendor="VMware, Inc." \ @@ -24,7 +24,7 @@ RUN install_packages ca-certificates curl libbsd0 libbz2-1.0 libcrypt1 libedit2 RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ COMPONENTS=( \ "gosu-1.14.0-155-linux-${OS_ARCH}-debian-11" \ - "postgresql-10.22.0-12-linux-${OS_ARCH}-debian-11" \ + "postgresql-10.22.0-13-linux-${OS_ARCH}-debian-11" \ ) && \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ diff --git a/bitnami/postgresql/10/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/postgresql/10/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index b4f4404048ae..d78525a2a3e0 100644 --- a/bitnami/postgresql/10/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/postgresql/10/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -8,9 +8,9 @@ }, "postgresql": { "arch": "amd64", - "digest": "ddc424a8cc5263e0bfa057c4f174b1449c80cefa0a39679a2449e4c1b89c1cfe", + "digest": "b92243a920113fc7777434778760bfa5d112644aaffece7e184eeba9bc6253b1", "distro": "debian-11", "type": "NAMI", - "version": "10.22.0-12" + "version": "10.22.0-13" } } \ No newline at end of file diff --git a/bitnami/postgresql/10/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/10/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh index 34af0fd19b47..f2694a2df06a 100644 --- a/bitnami/postgresql/10/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/10/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh @@ -603,7 +603,7 @@ postgresql_initialize() { is_boolean_yes "$POSTGRESQL_ALLOW_REMOTE_CONNECTIONS" && is_boolean_yes "$create_pghba_file" && postgresql_create_pghba && postgresql_allow_local_connection # Configure port postgresql_set_property "port" "$POSTGRESQL_PORT_NUMBER" - + is_empty_value "$POSTGRESQL_DEFAULT_TOAST_COMPRESSION" || postgresql_set_property "default_toast_compression" "$POSTGRESQL_DEFAULT_TOAST_COMPRESSION" if ! is_dir_empty "$POSTGRESQL_DATA_DIR"; then info "Deploying PostgreSQL with persisted data..." export POSTGRESQL_FIRST_BOOT="no" diff --git a/bitnami/postgresql/10/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh b/bitnami/postgresql/10/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh index 17078827d13b..c99a136bf1f4 100644 --- a/bitnami/postgresql/10/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh +++ b/bitnami/postgresql/10/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh @@ -87,6 +87,7 @@ postgresql_env_vars=( POSTGRESQL_USERNAME_CONNECTION_LIMIT POSTGRESQL_POSTGRES_CONNECTION_LIMIT POSTGRESQL_WAL_LEVEL + POSTGRESQL_DEFAULT_TOAST_COMPRESSION POSTGRESQL_AUTOCTL_CONF_DIR POSTGRESQL_AUTOCTL_MODE POSTGRESQL_AUTOCTL_MONITOR_HOST @@ -317,6 +318,7 @@ export POSTGRESQL_USERNAME_CONNECTION_LIMIT="${POSTGRESQL_USERNAME_CONNECTION_LI POSTGRESQL_POSTGRES_CONNECTION_LIMIT="${POSTGRESQL_POSTGRES_CONNECTION_LIMIT:-"${POSTGRES_POSTGRES_CONNECTION_LIMIT:-}"}" export POSTGRESQL_POSTGRES_CONNECTION_LIMIT="${POSTGRESQL_POSTGRES_CONNECTION_LIMIT:-}" export POSTGRESQL_WAL_LEVEL="${POSTGRESQL_WAL_LEVEL:-replica}" +export POSTGRESQL_DEFAULT_TOAST_COMPRESSION="${POSTGRESQL_DEFAULT_TOAST_COMPRESSION:-}" # pgAutoFailover settings export POSTGRESQL_AUTOCTL_VOLUME_DIR="${POSTGRESQL_VOLUME_DIR}/pgautoctl"