From c941dfee18977bed95e533278a4e4a19fc95e699 Mon Sep 17 00:00:00 2001 From: Christoph Mantsch Date: Tue, 10 Oct 2023 12:25:45 +0000 Subject: [PATCH] feat: Allow replication in pg_hba for pg_basebackup --- docker/all-in-one/etc/postgresql/pg_hba.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/all-in-one/etc/postgresql/pg_hba.conf b/docker/all-in-one/etc/postgresql/pg_hba.conf index ec23777a2..f4c98aada 100755 --- a/docker/all-in-one/etc/postgresql/pg_hba.conf +++ b/docker/all-in-one/etc/postgresql/pg_hba.conf @@ -89,3 +89,7 @@ host all all 10.0.0.0/8 scram-sha-256 host all all 172.16.0.0/12 scram-sha-256 host all all 192.168.0.0/16 scram-sha-256 host all all 0.0.0.0/0 scram-sha-256 + +# Allow replication for pg_basebackup +host replication all trust +host replication 0.0.0.0/0 scram-sha-256 \ No newline at end of file