Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
pgbot Read-only observability and health reports for PostgreSQL
0.9.0_1 databases Σ=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.8.1_3Version of this port present on the latest quarterly branch.
Maintainer: olgeni@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-08-29 11:33:06
Last Update: 2026-11-11 09:56:23
Commit Hash: 7b94b5e
People watching this port, also watch: syslog-ng, seahorse, expect, fetchmail, netqmail
License: APACHE20
WWW:
https://pgbot.dev/
https://github.com/pgrundev/pgbot
Description: #
pgbot is a single static binary that connects to a PostgreSQL server with a read-only role, reads the server's own statistics views and prints a findings-first health report, including what changed since the previous run. It needs no agent, no external service and no write privilege anywhere in the path. Features: - Checks connections, cache hit ratio, locks, slow and regressed queries, unused and missing indexes, table bloat, vacuum and replication lag - Findings are ranked by severity, with a per-database health score - Snapshots are stored locally so consecutive runs can be diffed - Versioned --json output with a published JSON Schema, plus SARIF output for CI integration - Works as an MCP server so AI agents and applications can query it - Supports PostgreSQL 14 through 18 pgbot is the diagnostic engine behind pgterm (databases/pgterm).
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (8 items)
Collapse this list.
  1. bin/pgbot
  2. /usr/local/share/doc/pgbot/CHANGELOG.md
  3. /usr/local/share/doc/pgbot/README.md
  4. /usr/local/share/doc/pgbot/SECURITY.md
  5. /usr/local/share/licenses/pgbot-0.9.0_1/catalog.mk
  6. /usr/local/share/licenses/pgbot-0.9.0_1/LICENSE
  7. /usr/local/share/licenses/pgbot-0.9.0_1/APACHE20
  8. share/sbom/pc/pgbot.pc
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • pgbot>0:databases/pgbot
To install the port: #
cd /usr/ports/databases/pgbot/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/pgbot
  • pkg install pgbot
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: pgbot
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1792654405 SHA256 (go/databases_pgbot/pgbot-v0.9.0/v0.9.0.mod) = 55d9aed44846d80e752d44d2bbb35d24e9773294506b3f16e4a297764e382619 SIZE (go/databases_pgbot/pgbot-v0.9.0/v0.9.0.mod) = 1779

Expand this list (2 items)

Collapse this list.

SHA256 (go/databases_pgbot/pgbot-v0.9.0/v0.9.0.zip) = 6b48b138fa1ca4866a50ab192f458180a66026f18693b21fb1dea87e89416bfc SIZE (go/databases_pgbot/pgbot-v0.9.0/v0.9.0.zip) = 4271374

Collapse this list.


Packages (timestamps in pop-ups are UTC): #
pgbot
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.9.00.9.0--0.9.0
FreeBSD:14:quarterly0.8.1_20.8.1_2--0.8.1_3
FreeBSD:15:latest0.9.00.9.0n/a-n/a
FreeBSD:15:quarterly0.8.1_20.8.1_2n/a-n/a
FreeBSD:16:latest0.9.00.9.0n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. go127 : lang/go127
Fetch dependencies: #
  1. go127 : lang/go127
This port is required by: #
for Run #
  1. databases/pgterm

Configuration Options: #
No options to configure
Options name: #
databases_pgbot
USES: #
go:modules zip
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://proxy.golang.org/github.com/pgrundev/pgbot/@v/
Collapse this list.

Number of commits found: 10 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.9.0_1
11 Nov 2026 09:56:23
commit hash: 7b94b5e5680789e2de5e914466ccf2276afa721fcommit hash: 7b94b5e5680789e2de5e914466ccf2276afa721fcommit hash: 7b94b5e5680789e2de5e914466ccf2276afa721fcommit hash: 7b94b5e5680789e2de5e914466ccf2276afa721f files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump Go ports for Go 1.26.11 / 1.27.4
0.9.0
25 Oct 2026 14:24:14
commit hash: 71ec312f24d94f725a1ac02290af4be0e75a559dcommit hash: 71ec312f24d94f725a1ac02290af4be0e75a559dcommit hash: 71ec312f24d94f725a1ac02290af4be0e75a559dcommit hash: 71ec312f24d94f725a1ac02290af4be0e75a559d files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
databases/pgbot: Update to 0.9.0

Add FreeBSD to the build constraint of cmd/pgbot/mcp_input_unix.go,
which upstream limits to darwin and linux; without it prepareMCPInput
is undefined and the build fails.
0.8.1_2
20 Oct 2026 11:05:23
commit hash: d81b7ba3c3ab6c49f4a8ed0ef8aa4d70a78c9f0ccommit hash: d81b7ba3c3ab6c49f4a8ed0ef8aa4d70a78c9f0ccommit hash: d81b7ba3c3ab6c49f4a8ed0ef8aa4d70a78c9f0ccommit hash: d81b7ba3c3ab6c49f4a8ed0ef8aa4d70a78c9f0c files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump Go ports for Go 1.26.10 / 1.27.3
0.8.1_1
08 Oct 2026 20:44:12
commit hash: 031fc6bfbf58dd0aadc59bc428be611930856ffccommit hash: 031fc6bfbf58dd0aadc59bc428be611930856ffccommit hash: 031fc6bfbf58dd0aadc59bc428be611930856ffccommit hash: 031fc6bfbf58dd0aadc59bc428be611930856ffc files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump Go ports
0.8.1
27 Sep 2026 23:03:19
commit hash: c33c04ca4fd0f4a8884ca69318ff62258cc7782acommit hash: c33c04ca4fd0f4a8884ca69318ff62258cc7782acommit hash: c33c04ca4fd0f4a8884ca69318ff62258cc7782acommit hash: c33c04ca4fd0f4a8884ca69318ff62258cc7782a files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
databases/pgbot: Drop Go version pin
0.8.1
07 Sep 2026 01:58:36
commit hash: e5ca6d763a7afc36499aa65b18b9ff74ee2d6223commit hash: e5ca6d763a7afc36499aa65b18b9ff74ee2d6223commit hash: e5ca6d763a7afc36499aa65b18b9ff74ee2d6223commit hash: e5ca6d763a7afc36499aa65b18b9ff74ee2d6223 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
databases/pgbot: Update to 0.8.1

Upstream now requires Go 1.27, so pin USES=go:1.27,modules.
0.7.2
04 Sep 2026 12:53:11
commit hash: 8cce926501dd39ac764d15ee3053f17eb2d98155commit hash: 8cce926501dd39ac764d15ee3053f17eb2d98155commit hash: 8cce926501dd39ac764d15ee3053f17eb2d98155commit hash: 8cce926501dd39ac764d15ee3053f17eb2d98155 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
databases/pgbot: Update to 0.7.2
0.6.0_1
03 Sep 2026 04:50:55
commit hash: dd0905142a9a35cdf8267e2706db9488b516ad01commit hash: dd0905142a9a35cdf8267e2706db9488b516ad01commit hash: dd0905142a9a35cdf8267e2706db9488b516ad01commit hash: dd0905142a9a35cdf8267e2706db9488b516ad01 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
many: Bump go ports for 1.26.8 and 1.27.1
0.6.0
01 Sep 2026 19:23:02
commit hash: 525a828f4696ffa5562d2c8192b5f8dad7fc33aecommit hash: 525a828f4696ffa5562d2c8192b5f8dad7fc33aecommit hash: 525a828f4696ffa5562d2c8192b5f8dad7fc33aecommit hash: 525a828f4696ffa5562d2c8192b5f8dad7fc33ae files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
databases/pgbot: Update to 0.6.0
0.5.1
29 Aug 2026 11:31:38
commit hash: cd4882904df0f91945b2a6f4731027d5c2dcf21ecommit hash: cd4882904df0f91945b2a6f4731027d5c2dcf21ecommit hash: cd4882904df0f91945b2a6f4731027d5c2dcf21ecommit hash: cd4882904df0f91945b2a6f4731027d5c2dcf21e files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
databases/pgbot: New port: Read-only observability and health reports for
PostgreSQL

Number of commits found: 10