From 6df46b0c9e7accd468946a891d988ad71b7121eb Mon Sep 17 00:00:00 2001 From: Alena Vinter Date: Tue, 23 Sep 2025 10:23:46 +0700 Subject: [PATCH 3/3] 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 is set, - pg_createsubscriber terminates if recovery - does not end until the given number of seconds. + recovery targets that can cause a failure. + + + 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. + pg_createsubscriber again. + + + This step finishes once the server ends standby mode and is accepting + read-write transactions. If option + is set, pg_createsubscriber terminates if + recovery does not end until the given number of seconds. -- 2.51.0