pg_rewind: Remove notice in docs about running CHECKPOINT after promote.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 27 Feb 2023 07:34:43 +0000 (09:34 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 27 Feb 2023 07:34:43 +0000 (09:34 +0200)
Commit 009eeee746 made it unnecessary. pg_rewind now works on a
recently promoted standby.

Author: Kyotaro Horiguchi, Keisuke Kuroda
Discussion: https://www.postgresql.org/message-id/aeb5f31a-8de2-40a8-64af-ab659a309d6b%40iki.fi

doc/src/sgml/ref/pg_rewind.sgml

index 768024c4911504eafab49960ef6299564dfcc410..9118f05bf264278dcd88a5453273064d0e48fc85 100644 (file)
@@ -335,15 +335,6 @@ GRANT EXECUTE ON function pg_catalog.pg_read_binary_file(text, bigint, bigint, b
 </programlisting>
   </para>
 
-  <para>
-   When executing <application>pg_rewind</application> using an online
-   cluster as source which has been recently promoted, it is necessary
-   to execute a <command>CHECKPOINT</command> after promotion such that its
-   control file reflects up-to-date timeline information, which is used by
-   <application>pg_rewind</application> to check if the target cluster
-   can be rewound using the designated source cluster.
-  </para>
-
   <refsect2>
    <title>How It Works</title>