doc: Remove reference to trigger file regarding promotion
authorMichael Paquier <[email protected]>
Sun, 3 Dec 2023 23:10:28 +0000 (08:10 +0900)
committerMichael Paquier <[email protected]>
Sun, 3 Dec 2023 23:10:28 +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 eaa6f4b53ccca293416d8cccd152fc54e80d6cf7..b88546bde0e0d6f3d64b903029f0fc3915cde327 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>