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.5.1 databasesnew! on this many watch lists=0 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-08-29 11:31:38
Commit Hash: cd48829
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.5.1/catalog.mk
  6. /usr/local/share/licenses/pgbot-0.5.1/LICENSE
  7. /usr/local/share/licenses/pgbot-0.5.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 = 1787912380 SHA256 (go/databases_pgbot/pgbot-v0.5.1/v0.5.1.mod) = fcd3ee5513ac4eb3b21069f94af6fab604a3811c9ceb1b462779c72dbd1c7c94 SIZE (go/databases_pgbot/pgbot-v0.5.1/v0.5.1.mod) = 1917

Expand this list (2 items)

Collapse this list.

SHA256 (go/databases_pgbot/pgbot-v0.5.1/v0.5.1.zip) = 821fa74dd1c50680e1d7d2b680a3acdc0eb83c56bda1790f1145c44afb2bad3a SIZE (go/databases_pgbot/pgbot-v0.5.1/v0.5.1.zip) = 3963627

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. go126 : lang/go126
Fetch dependencies:
  1. go126 : lang/go126
This port is required by:
for Run
  1. databases/pgterm

Configuration Options:
No options to configure
Options name:
databases_pgbot
USES:
go: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: 1

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