doc: Fix description of target_session_attrs=prefer-standby
authorMichael Paquier <michael@paquier.xyz>
Thu, 29 Apr 2021 02:44:24 +0000 (11:44 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 29 Apr 2021 02:44:24 +0000 (11:44 +0900)
If no standbys can be found in the set of connection points provided,
the fallback behavior is "any", and not "all" that does not exist.

Author: Greg Nancarrow
Reviewed-by: Laurenz Albe
Discussion: https://postgr.es/m/CAJcOf-fDaCv8qCpWH7k5Yh6zFxZeUwZowu4sCWQ2zFx4CdkHpA@mail.gmail.com

doc/src/sgml/libpq.sgml

index 7bcb7504a6e5f86d826b17c3b121a87ebe9cf4dd..174a6b7f37bc41f052517fc50387aeb4519437ed 100644 (file)
@@ -1965,7 +1965,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
           <listitem>
            <para>
             first try to find a standby server, but if none of the listed
-            hosts is a standby server, try again in <literal>all</literal>
+            hosts is a standby server, try again in <literal>any</literal>
             mode
            </para>
           </listitem>