Skip to content

v2.1.0

Choose a tag to compare

@randoneering randoneering released this 13 Apr 01:56
· 177 commits to main since this release
5a48b09

v2.1.0 — Info and System-Level Checks

This release adds ten new health checks focused on server configuration and system state,
giving you a clearer picture of how PostgreSQL is tuned and what it's doing.

New checks

Memory configuration

  • shared_buffers Setting — reports the current value
  • shared_buffers At Default — flags when the value is still at PostgreSQL's 128 MB default
  • work_mem Setting — reports the current value
  • work_mem At Default — flags when the value is still at PostgreSQL's 4 MB default
  • effective_cache_size Setting — reports the current value
  • maintenance_work_mem Setting — reports the current value

System state

  • Transaction ID Wraparound Risk — reports XID age and remaining headroom per database
  • Checkpoint Stats — shows timed vs. forced checkpoint counts and the forced ratio; works on
    PG 15/16 (pg_stat_bgwriter) and PG 17+ (pg_stat_checkpointer)
  • Server Role — reports whether the instance is a primary or standby
  • Connection Utilization — shows current connection usage against max_connections

Test coverage

  • Seven new integration tests covering view/function parity, standalone view installation,
    wraparound value formatting, checkpoint guidance by server version, and a regression check
    that keeps the _pg_firstaid_checkpoint_stats helper identical across all three install
    scripts
  • pgTAP tests added for all new checks
  • Integration test suite now skips cleanly with a clear message when PostgreSQL environment
    variables are missing

Other changes

  • Partial indexes are no longer flagged as duplicates in the managed view
  • Managed-database testing documentation updated to reflect that AWS validation is active;
    Azure and GCP support is best-effort until those test environments can be funded