Error in libpq docs for target_session_attrs, prefer-standby mode

From: Greg Nancarrow <gregn4422(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Error in libpq docs for target_session_attrs, prefer-standby mode
Date: 2021-04-28 02:55:30
Message-ID: CAJcOf-fDaCv8qCpWH7k5Yh6zFxZeUwZowu4sCWQ2zFx4CdkHpA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
libpq_target_session_attrs_doc_fix.patch application/octet-stream 556 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2021-04-28 02:58:31 Re: Replication slot stats misgivings
Previous Message David Fetter 2021-04-28 02:53:08 Re: Bug fix for tab completion of ALTER TABLE ... VALIDATE CONSTRAINT ...