aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-11-12 14:52:24 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-11-12 14:52:24 +0200
commit9c4f5192f69ed16c99e0d079f0b5faebd7bad212 (patch)
tree0f0712e87b1ef10c8133bff75c23beda573909d8 /doc/src
parent1b2b19f7584b7c0025aa40862cd38c79d340be7d (diff)
downloadpostgresql-9c4f5192f69ed16c99e0d079f0b5faebd7bad212.tar.gz
postgresql-9c4f5192f69ed16c99e0d079f0b5faebd7bad212.zip
Allow pg_rewind to use a standby server as the source system.
Using a hot standby server as the source has not been possible, because pg_rewind creates a temporary table in the source system, to hold the list of file ranges that need to be fetched. Refactor it to queue up the file fetch requests in pg_rewind's memory, so that the temporary table is no longer needed. Also update the logic to compute 'minRecoveryPoint' correctly, when the source is a standby server. Reviewed-by: Kyotaro Horiguchi, Soumyadeep Chakraborty Discussion: https://www.postgresql.org/message-id/0c5b3783-af52-3ee5-f8fa-6e794061f70d%40iki.fi
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/pg_rewind.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/pg_rewind.sgml b/doc/src/sgml/ref/pg_rewind.sgml
index 43282e6016f..07aae75d8b7 100644
--- a/doc/src/sgml/ref/pg_rewind.sgml
+++ b/doc/src/sgml/ref/pg_rewind.sgml
@@ -173,7 +173,7 @@ PostgreSQL documentation
with a role having sufficient permissions to execute the functions
used by <application>pg_rewind</application> on the source server
(see Notes section for details) or a superuser role. This option
- requires the source server to be running and not in recovery mode.
+ requires the source server to be running and accepting connections.
</para>
</listitem>
</varlistentry>