Source: bgw-replstatus Section: database Priority: optional Maintainer: Magnus Hagander Uploaders: Debian PostgreSQL Maintainers , Christoph Berg , Build-Depends: debhelper-compat (= 13), netcat-openbsd, postgresql-all (>= 217~), Standards-Version: 4.5.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-13-bgw-replstatus Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-13 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.