From 9ee9afe9febc4c616b478d3d56a93ccecb22a5b7 Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Mon, 18 May 2026 10:03:42 +0300 Subject: [PATCH 1/3] PG-2372 - Remove ENABLE_TDE flag (18) This PR updates the docker installation step to remove the ENABLE TDE option. --- docs/docker.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/docker.md b/docs/docker.md index 4617dbb38..f26c42824 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -103,18 +103,21 @@ Percona Distribution for PostgreSQL Docker image includes the `pg_tde` extension Follow these steps to enable `pg_tde`: {.power-number} -1. Start the container with the `ENABLE_PG_TDE=1` environment variable: +1. Start the container with `pg_tde` added to `shared_preload_libraries`: ```{.bash data-prompt="$"} - docker run --name container-name -e ENABLE_PG_TDE=1 -e POSTGRES_PASSWORD=sUpers3cRet -d percona/percona-distribution-postgresql:{{dockertag}} + docker run --name container-name -e POSTGRES_PASSWORD=sUpers3cRet -c 'shared_preload_libraries=pg_tde' -d percona/percona-distribution-postgresql:{{dockertag}} ``` where: * `container-name` is the name you assign to your container - * `ENABLE_PG_TDE=1` adds the `pg_tde` to the `shared_preload_libraries` and enables the custom storage manager + * `shared_preload_libraries=pg_tde` enables the `pg_tde` extension and its custom storage manager * `POSTGRES_PASSWORD` is the superuser password + !!! note + Available starting with versions 18.3, 17.9, 16.13, 15.17, and 14.22. For earlier versions, use `-e ENABLE_PG_TDE=1` instead. + 2. Connect to the container and start the interactive `psql` session: ```{.bash data-prompt="$"} From 8282492bb4f3f7f9f032740af40ba55f67031bf6 Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Mon, 18 May 2026 10:30:06 +0300 Subject: [PATCH 2/3] Update docker.md --- docs/docker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docker.md b/docs/docker.md index f26c42824..0f965ecc1 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -116,7 +116,7 @@ Follow these steps to enable `pg_tde`: * `POSTGRES_PASSWORD` is the superuser password !!! note - Available starting with versions 18.3, 17.9, 16.13, 15.17, and 14.22. For earlier versions, use `-e ENABLE_PG_TDE=1` instead. + Available starting with version 18.3. For earlier versions, use `-e ENABLE_PG_TDE=1` instead. 2. Connect to the container and start the interactive `psql` session: From c329711eb466e5c748e85715619abdadd5d409d5 Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Mon, 18 May 2026 11:34:38 +0300 Subject: [PATCH 3/3] Update docker.md --- docs/docker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docker.md b/docs/docker.md index 0f965ecc1..97a2a7ebf 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -106,7 +106,7 @@ Follow these steps to enable `pg_tde`: 1. Start the container with `pg_tde` added to `shared_preload_libraries`: ```{.bash data-prompt="$"} - docker run --name container-name -e POSTGRES_PASSWORD=sUpers3cRet -c 'shared_preload_libraries=pg_tde' -d percona/percona-distribution-postgresql:{{dockertag}} + docker run --name container-name -e POSTGRES_PASSWORD=sUpers3cRet -d percona/percona-distribution-postgresql:{{dockertag}} -c 'shared_preload_libraries=pg_tde' ``` where: