From 39667f6e9258f9091ba9681c553913ae2edac766 Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Thu, 30 Apr 2015 12:11:46 +0200 Subject: [PATCH] allow connections for all hosts and ports, not just postgres. --- helpers/postgresql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/postgresql.py b/helpers/postgresql.py index 4fff2bd5..4bde365c 100644 --- a/helpers/postgresql.py +++ b/helpers/postgresql.py @@ -152,7 +152,7 @@ class Postgresql: # allow TCP connections from the host's own address f.write("\nhost postgres postgres samehost trust\n") # allow TCP connections from the rest of the world with a password - f.write("\nhost postgres postgres 0.0.0.0/0 md5\n") + f.write("\nhost all all 0.0.0.0/0 md5\n") f.close() def write_recovery_conf(self, leader_hash):