]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] checks: add PostgreSQL health check
authorRauf Kuliyev <rauf@kuliyev.com>
Tue, 4 Jan 2011 14:14:13 +0000 (15:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 4 Jan 2011 14:14:13 +0000 (15:14 +0100)
commit38b4156a691557f4eda30445f0ef8ce61f280dfc
tree42cb6aa7365ad7675afac22866d21eb556ce79cf
parent0013433b0971f42b59958cc3d456a14e31f7e71e
[MINOR] checks: add PostgreSQL health check

I have written a small patch to enable a correct PostgreSQL health check
It works similar to mysql-check with the very same parameters.

E.g.:
listen pgsql 127.0.0.1:5432
   mode tcp
   option pgsql-check user pgsql
   server masterdb pgsql.server.com:5432 check inter 10000
doc/configuration.txt
include/types/proxy.h
src/cfgparse.c
src/checks.c