DOC: config: Fix pgsql-check documentation to make user param mandatory

The username is required in the Start-up message. Thus, since the 2.2, when
this health-check was refactored, the user parameter is mandatory. On prior
versions, when no username is provided, no pgsql check is performed but only
a basic tcpcheck.

This patch should be backported as far as 2.2.
This commit is contained in:
Christopher Faulet 2022-10-03 15:00:59 +02:00
parent 0d6fb7a3eb
commit 59307b3e4e
1 changed files with 1 additions and 1 deletions

View File

@ -9717,7 +9717,7 @@ no option persist
See also : "option redispatch", "retries", "force-persist"
option pgsql-check [ user <username> ]
option pgsql-check user <username>
Use PostgreSQL health checks for server testing
May be used in sections : defaults | frontend | listen | backend
yes | no | yes | yes