From 70bae1b267db4cf76d3ade299a3bef6741ec2b89 Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Fri, 8 Jan 2016 16:51:24 +0100 Subject: [PATCH] Note multiple PostgreSQL listen addresses. --- README.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 422e0849..d8068b46 100644 --- a/README.rst +++ b/README.rst @@ -77,7 +77,8 @@ For an example file, see ``postgres0.yml``. Regarding settings: - *postgresql*: - *name*: the name of the Postgres host. Must be unique for the cluster. - - *listen*: IP address + port that Postgres listens to; must be accessible from other nodes in the cluster, if you're using streaming replication. + - *listen*: IP address + port that Postgres listens to; must be accessible from other nodes in the cluster, if you're using streaming replication. Multiple comma-separated addresses are permitted, as long as the port component is appended after to the last one with a colon, i.e. ``listen: 127.0.0.1,127.0.0.2:5432``. The first address from this list will be used by Patroni to establish local connections to the PostgreSQL node. + - *connect\_address*: IP address + port through which Postgres is accessible from other nodes and applications. - *data\_dir*: file path to initialize and store Postgres data files. - *maximum\_lag\_on\_failover*: the maximum bytes a follower may lag.