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. (cherry picked from commit 59307b3e4e1fbdbe07dcbe08781c81e6312f0c23) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
This commit is contained in:
parent
3b26843205
commit
e8da4211a9
@ -9671,7 +9671,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user