v8-0002-doc-Add-warning-about-leftover-recovery-parameters-i.patch
text/x-patch
Filename: v8-0002-doc-Add-warning-about-leftover-recovery-parameters-i.patch
Type: text/x-patch
Part: 1
From 4240b48b46e5b8890f62d6461417bef91eac6bad Mon Sep 17 00:00:00 2001
From: Alena Vinter <dlaaren8@gmail.com>
Date: Mon, 27 Oct 2025 13:02:51 +0700
Subject: [PATCH 2/2] doc: Add warning about leftover recovery parameters in
'pg_createsubscriber'
---
doc/src/sgml/ref/pg_createsubscriber.sgml | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/doc/src/sgml/ref/pg_createsubscriber.sgml b/doc/src/sgml/ref/pg_createsubscriber.sgml
index bb9cc72576c..fa14aeeef13 100644
--- a/doc/src/sgml/ref/pg_createsubscriber.sgml
+++ b/doc/src/sgml/ref/pg_createsubscriber.sgml
@@ -520,11 +520,19 @@ PostgreSQL documentation
are added to avoid unexpected behavior during the recovery process such
as end of the recovery as soon as a consistent state is reached (WAL
should be applied until the replication start location) and multiple
- recovery targets that can cause a failure. This step finishes once the
- server ends standby mode and is accepting read-write transactions. If
- <option>--recovery-timeout</option> option is set,
- <application>pg_createsubscriber</application> terminates if recovery
- does not end until the given number of seconds.
+ recovery targets that can cause a failure.
+ </para>
+ <para>
+ If an error occurs during this step, recovery parameters might remain in
+ the target server's configuration. You may need to manually remove these
+ leftover parameters before attempting to run.
+ <application>pg_createsubscriber</application> again.
+ </para>
+ <para>
+ This step finishes once the server ends standby mode and is accepting
+ read-write transactions. If <option>--recovery-timeout</option> option
+ is set, <application>pg_createsubscriber</application> terminates if
+ recovery does not end until the given number of seconds.
</para>
</step>
--
2.51.1