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