diff options
| author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-05-18 10:18:46 +0300 |
|---|---|---|
| committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-05-18 10:20:30 +0300 |
| commit | 4df132895016c6a99355776a8df284ff011a2e94 (patch) | |
| tree | c56eb3f3cbac9ecc482a993022393d20765b780b /doc/src | |
| parent | d773b55713e44b7d4a67411b09e1f21f195b420f (diff) | |
Put back stats-collector restarting code, removed accidentally.
Removed that code snippet accidentally in the archive_mode='always' patch.
Also, use varname-tags for archive_command in the docs.
Fujii Masao
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/high-availability.sgml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml index d950100239a..d2f7fec5234 100644 --- a/doc/src/sgml/high-availability.sgml +++ b/doc/src/sgml/high-availability.sgml @@ -1237,9 +1237,10 @@ primary_slot_name = 'node_a_slot' to <literal>always</literal>, and the standby will call the archive command for every WAL segment it receives, whether it's by restoring from the archive or by streaming replication. The shared archive can - be handled similarly, but the archive_command must test if the file - being archived exists already, and if the existing file has identical - contents. This requires more care in the archive_command, as it must + be handled similarly, but the <varname>archive_command</varname> must + test if the file being archived exists already, and if the existing file + has identical contents. This requires more care in the + <varname>archive_command</varname>, as it must be careful to not overwrite an existing file with different contents, but return success if the exactly same file is archived twice. And all that must be done free of race conditions, if two servers attempt |
