Обсуждение: Error in libpq docs for target_session_attrs, prefer-standby mode

Поиск
Список
Период
Сортировка

Error in libpq docs for target_session_attrs, prefer-standby mode

От
Greg Nancarrow
Дата:
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

Вложения

Re: Error in libpq docs for target_session_attrs, prefer-standby mode

От
Laurenz Albe
Дата:
On Wed, 2021-04-28 at 12:55 +1000, Greg Nancarrow wrote:
> 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.

You are right, and the patch is good.

Yours,
Laurenz Albe




Re: Error in libpq docs for target_session_attrs, prefer-standby mode

От
Michael Paquier
Дата:
On Wed, Apr 28, 2021 at 01:32:05PM +0200, Laurenz Albe wrote:
> You are right, and the patch is good.

Thanks, fixed.
--
Michael

Вложения