ajout explication archive_cleanup_command
This commit is contained in:
parent
d10538bcac
commit
061d2d7c13
|
@ -133,6 +133,8 @@ Pendant le transfert des fichiers, la base a pu subir des modifications. Le para
|
|||
~~~
|
||||
standby_mode = 'on'
|
||||
primary_conninfo = 'host=192.0.2.1 user=repl password=PASSWORD application_name=foo'
|
||||
|
||||
# Ce qui suit n'est pas obligatoire, c'est dans le cas ou on archive les WAL sur ce réplica
|
||||
archive_cleanup_command = '/usr/lib/postgresql/9.6/bin/pg_archivecleanup /srv/pg-archives/ %r'
|
||||
recovery_target_timeline = 'latest'
|
||||
~~~
|
||||
|
|
Loading…
Reference in a new issue