How to Install and Uninstall postgresql-13-bgw-replstatus Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 24,2024

1. Install "postgresql-13-bgw-replstatus" package

Please follow the instructions below to install postgresql-13-bgw-replstatus on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install postgresql-13-bgw-replstatus

2. Uninstall "postgresql-13-bgw-replstatus" package

Here is a brief guide to show you how to uninstall postgresql-13-bgw-replstatus on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove postgresql-13-bgw-replstatus $ sudo apt autoclean && sudo apt autoremove

3. Information about the postgresql-13-bgw-replstatus package on Ubuntu 21.10 (Impish Indri)

Package: postgresql-13-bgw-replstatus
Architecture: amd64
Version: 1.0.5
Priority: optional
Section: universe/database
Source: bgw-replstatus
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Magnus Hagander
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 47
Depends: libc6 (>= 2.10), postgresql-13
Filename: pool/universe/b/bgw-replstatus/postgresql-13-bgw-replstatus_1.0.5_amd64.deb
Size: 15340
MD5sum: a676b5d980e2c73fc200006e86513db3
SHA1: 558665de1d7b4312ad3e2f4408af2fd93983d279
SHA256: cec0a2f71f1a66ef537870877ec7d3bdcc870f138f1dea3773f84ab54039a3fa
SHA512: 2c688ce09b969413b87c9c6e47ff0c1942c24e76d421a3d57e05d350bca69f87afc08f38b989d8a12a8f052e3edb26d41cb50a685a581eeaf42348d558504c05
Homepage: https://github.com/mhagander/bgw_replstatus
Description-en: 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.
Description-md5: 7e371a1d6723626aa24d871ac297fe98

5. The same packages on other Linux Distributions