Released November 20, 2026.
34 reports | Tested on PostgreSQL 13–19 | Works with pg_monitor role
- Added PostgreSQL 19 to the compatibility matrix.
- Verified all non-interactive reports with a non-superuser
pg_monitormember holding the minimal database and object grants the reports require. - Verified extension-backed reports with
amcheck,intarray,pg_buffercache,pg_stat_statements, andpgstattupleinstalled.
- Made SQL errors fail the test job with
ON_ERROR_STOP. - Enabled
pg_stat_statementsinshared_preload_libraries, so its reports execute instead of returning a masked error. - Added scripted functional tests for the interactive create-role and alter-role reports, including successful password authentication, password rotation, and rejection of the previous password.
- Added assertions that every job is running its expected PostgreSQL version.
- Restricted the test database to loopback and added unconditional cleanup.
- Refuse role password generation with
pg_stat_statements.track=all, which otherwise exposes live passwords to monitoring roles through nested statements.
Behavior change: r2 previously treated 0 as “leave unchanged.” It now
revokes the selected attribute. Use Enter to preserve attributes while rotating
a password; explicit 0 for LOGIN can disable a service account.
- Quote prompted values as SQL literals, including names containing apostrophes.
- Handle quoted invalid menu choices without SQL errors.
- Reject invalid boolean answers instead of interpreting typos as superuser requests.
- Generate 32-character lowercase hexadecimal passwords using the built-in cryptographic UUID generator (122 random bits, requires PG13+). Policies requiring uppercase or special characters may reject this format.
- Make explicit negative alter-role answers apply NOSUPERUSER and NOLOGIN; Enter preserves existing attributes during password rotation.
- Display rotated passwords without requiring DEBUG, and stop printing password-bearing SQL.
- Clarify that server/audit logging and terminal capture can still expose credentials.
Starting with this release, postgres_dba uses calendar versions in
YYYY.M.patch format.
34 reports | Tested on PostgreSQL 13–18 | Works with pg_monitor role
Four levels of integrity checking, from quick production-safe to full paranoia:
| Report | Lock | What it checks | When to use |
|---|---|---|---|
| c1 | AccessShareLock | B-tree pages, GIN indexes (PG18+) | Production — fast, safe, non-blocking |
| c2 | AccessShareLock | c1 + heap/TOAST integrity (PG14+) | Production — safe but reads all data |
| c3 | ShareLock | B-tree parent-child ordering, sibling pointers, rootdescend, checkunique (PG14+) | Clones — detects glibc/collation corruption |
| c4 | ShareLock | Everything in c3 + heapallindexed + verify_heapam with full TOAST | Clones only — proves every heap tuple is indexed, slow |
All four check system catalog indexes (pg_catalog, pg_toast).
Requires CREATE EXTENSION amcheck. Graceful handling when extension is missing or user lacks privileges. Version-conditional function signatures for PG11–18. GIN support via gin_index_check() on PG18+.
What's in shared_buffers: cached size vs total, % of cache per object, dirty buffer counts. Includes system catalogs. Requires pg_buffercache.
Groups pg_stat_statements by first SQL keyword (SELECT, INSERT, UPDATE, DELETE, etc.). Handles leading block comments (/* ... */) and line comments (-- ...).
Tables, indexes, and materialized views with non-default reloptions. Flags: disabled autovacuum on large tables, low fillfactor, aggressive vacuum scale factors.
Node information now includes WAL position, file count, total WAL size, and replication slot status.
| Old | New | Reason |
|---|---|---|
| b6 | m1 | Buffer cache → m (memory) category |
| c1 | p1 | Index creation progress → p (progress) category |
| p1 | x1 | Alignment padding → x (experimental) category |
v1/v2 descriptions clarified: v1 is "running operations (detailed progress)", v2 is "autovacuum queue and pending tables".
- s1, s2: Fixed
blk_read_time does not existon PG17+ (renamed toshared_blk_read_timein pg_stat_statements 1.11) - s3: Fixed
function round(double precision, integer) does not exist— added::numericcasts - i3: Fixed
operator is not uniqueerror whenintarrayextension is installed - m1: Include system catalogs in buffer cache report (was showing empty on small databases)
- i2: Removed dead code (
redundant_indexes_groupedCTE) - s1: Removed duplicate
sum(calls)in pre-PG13 code path
Master → Primary across all reports and CI.
- Modernized README with badges, individual credits, optional extensions table
- Fixed Quick Start psqlrc escaping
- Fixed menu spacing for new reports
alt_shits→alt_shifts(p1)- Various typo fixes across b1, b2, b3, b4, l1, s2, v2
- All 34 reports tested on PG 13, 14, 15, 16, 17, 18
- Added
amcheck,intarray,pg_buffercacheextensions to test matrix - Added i3 regression test with
intarrayinstalled - Added
PAGER=catto prevent pager hangs