diff --git a/bitnami/postgresql/11/debian-11/Dockerfile b/bitnami/postgresql/11/debian-11/Dockerfile index d8fe94b49f45..45fb0de8389b 100644 --- a/bitnami/postgresql/11/debian-11/Dockerfile +++ b/bitnami/postgresql/11/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="11.17.0-debian-11-r28" \ + org.opencontainers.image.ref.name="11.17.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 libedit2 libffi7 li RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ COMPONENTS=( \ "gosu-1.14.0-155-linux-${OS_ARCH}-debian-11" \ - "postgresql-11.17.0-12-linux-${OS_ARCH}-debian-11" \ + "postgresql-11.17.0-13-linux-${OS_ARCH}-debian-11" \ ) && \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ diff --git a/bitnami/postgresql/11/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/postgresql/11/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 610594ad9065..8d4eeca778d3 100644 --- a/bitnami/postgresql/11/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/postgresql/11/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -8,9 +8,9 @@ }, "postgresql": { "arch": "amd64", - "digest": "a0894e75a5558a3f666386915c57246c73306a9c908596de3868b8ca0da3ba28", + "digest": "df6e51ac47ec98bcd27b8ff88c3c8fb8139006becf8e09cd1a7330b8487f33c0", "distro": "debian-11", "type": "NAMI", - "version": "11.17.0-12" + "version": "11.17.0-13" } } \ No newline at end of file diff --git a/bitnami/postgresql/11/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/11/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh index 34af0fd19b47..f2694a2df06a 100644 --- a/bitnami/postgresql/11/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/11/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/11/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh b/bitnami/postgresql/11/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh index 17078827d13b..c99a136bf1f4 100644 --- a/bitnami/postgresql/11/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh +++ b/bitnami/postgresql/11/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" diff --git a/bitnami/postgresql/README.md b/bitnami/postgresql/README.md index b7e0ef5e20e9..f963d5b75c9d 100644 --- a/bitnami/postgresql/README.md +++ b/bitnami/postgresql/README.md @@ -850,7 +850,7 @@ $ docker-compose up postgresql ## Contributing -We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues), or submit a [pull request](https://github.com/bitnami/containers/pulls) with your contribution. +We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution. ## Issues