notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
pgbot Read-only observability and health reports for PostgreSQL
0.8.1 databases on this many watch lists=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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: olgeni@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-08-29 11:33:06
Last Update: 2026-09-07 01:58:36
Commit Hash: e5ca6d7
People watching this port, also watch:: zrep
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 (7 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.8.1/catalog.mk
  6. /usr/local/share/licenses/pgbot-0.8.1/LICENSE
  7. /usr/local/share/licenses/pgbot-0.8.1/APACHE20
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 = 1788720551 SHA256 (go/databases_pgbot/pgbot-v0.8.1/v0.8.1.mod) = 634784d1e8f02b00d6a942c6a3e53d555864bca9a730916cdead612709b7f061 SIZE (go/databases_pgbot/pgbot-v0.8.1/v0.8.1.mod) = 2004

Expand this list (2 items)

Collapse this list.

SHA256 (go/databases_pgbot/pgbot-v0.8.1/v0.8.1.zip) = cdf43092f19a4cb97ab2f2f72b3ce21fc9392873950ba4d2d3df7b7325b9f3a8 SIZE (go/databases_pgbot/pgbot-v0.8.1/v0.8.1.zip) = 4084490

Collapse this list.


Packages (timestamps in pop-ups are UTC):
pgbot
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest0.5.10.7.2--0.7.2---
FreeBSD:14:quarterly--------
FreeBSD:15:latest0.6.00.7.2n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest-0.7.2n/a-n/an/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:1.27,modules zip
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: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 5