Source: bgw-replstatus Section: database Priority: optional Maintainer: Magnus Hagander Uploaders: Debian PostgreSQL Maintainers , Christoph Berg , Build-Depends: architecture-is-64-bit , debhelper-compat (= 13), netcat-openbsd, postgresql-all , postgresql-server-dev-all (>= 217~), Standards-Version: 4.7.0 Rules-Requires-Root: no Homepage: https://github.com/mhagander/bgw_replstatus Vcs-Git: https://github.com/mhagander/bgw_replstatus.git Vcs-Browser: https://github.com/mhagander/bgw_replstatus Package: postgresql-17-bgw-replstatus Architecture: any Depends: ${misc:Depends}, ${postgresql:Depends}, ${shlibs:Depends}, Description: report whether PostgreSQL node is master or standby bgw_replstatus is a tiny PostgreSQL background worker to cheaply report the replication status of a node. It's intended to be polled by a load balancer such as haproxy. . When installed, a background worker will be started that listens on a TCP port. A connection to this port will get a TCP response back saying either MASTER or STANDBY depending on the current state of the node.