Hi,
I spotted an error in the development version documentation for
libpq's connection parameter "target_session_attrs" (34.1.2 Parameter
Key Words).
In the description for the "prefer-standby" mode, it says "... but if
none of the listed hosts is a standby server, try again in all mode".
There is no such "all" mode. It should instead say "any" mode.
Patch is attached.
Regards,
Greg Nancarrow
Fujitsu Australia