Location of postgresql.conf on the remote master. (#2343)

Close #2337
This commit is contained in:
Victor Sudakov
2022-06-30 10:50:38 +02:00
committed by GitHub
parent 8d773be533
commit 8d7828b079
+5
View File
@@ -212,4 +212,9 @@ in a patroni configuration:
Note, that these options will be applied only once during cluster bootstrap,
and the only way to change them afterwards is through DCS.
Patroni expects to find `postgresql.conf` or `postgresql.conf.backup` in PGDATA
of the remote master and will not start if it does not find it after a
basebackup. If the remote master keeps its `postgresql.conf` elsewhere, it is
your responsibility to copy it to PGDATA.
If you use replication slots on the standby cluster, you must also create the corresponding replication slot on the primary cluster. It will not be done automatically by the standby cluster implementation. You can use Patroni's permanent replication slots feature on the primary cluster to maintain a replication slot with the same name as ``primary_slot_name``, or its default value if ``primary_slot_name`` is not provided.