]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: config: Fix pgsql-check documentation to make user param mandatory
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 3 Oct 2022 13:00:59 +0000 (15:00 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 3 Oct 2022 13:31:23 +0000 (15:31 +0200)
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.

doc/configuration.txt

index db86f17f7def832ea2afdff557131cfc57ada360..f16c779b1e757442579f821cbfcbf706540e0b40 100644 (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