Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
doc: Remove reference to trigger file regarding promotion
authorMichael Paquier <michael@paquier.xyz>
Sun, 3 Dec 2023 23:10:27 +0000 (08:10 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sun, 3 Dec 2023 23:10:27 +0000 (08:10 +0900)
The wording changed here comes from 991bfe11d28a, when the only way to
trigger a promotion was with a trigger file.  There are more options to
achieve this operation these days, like the SQL function pg_promote() or
the command `pg_ctl promote`, so it is confusing to assume that only a
trigger file is able to do the work.

Note also that promote_trigger_file has been removed as of cd4329d9393f
in 16~.

Author: Shinya Kato
Discussion: https://postgr.es/m/201b08ea29aa61f96162080e75be503c@oss.nttdata.com
Backpatch-through: 12

doc/src/sgml/high-availability.sgml

index e4f49031baf1251ce637456e37be2620ee2f4038..7aa6fefbef3747f9168be3aa95f96d8f1c26777e 100644 (file)
@@ -648,7 +648,7 @@ protocol to make nodes agree on a serializable transactional order.
     later disconnected, the standby goes back to step 1 and tries to
     restore the file from the archive again. This loop of retries from the
     archive, <filename>pg_wal</filename>, and via streaming replication goes on until the server
-    is stopped or failover is triggered by a trigger file.
+    is stopped or is promoted.
    </para>
 
    <para>