Skip to main content

Postgres operations

v0.2.9

Deep Postgres operations — activity introspection, session/lock diagnostics, table + index analytics (bloat, dead tuples, unused indexes), WAL + replication state, progress views, EXPLAIN, and a curated set of operator-tier mutators (cancel/terminate backend, ANALYZE, VACUUM, REINDEX CONCURRENTLY). Authenticates via PG* env vars on the runner host.

41 allowed by default 7 need approval
Pack ID
postgres
Vendor
emisar
OS
linux
Actions
48
Required binaries. Install these on the host before relying on the pack — an action that calls a missing one fails at run time.
psql

Install

emisar pack install validates the pack and verifies its content hash before copying it into /etc/emisar/packs. The --hash below pins the install to the exact bytes on this page — a tampered copy is rejected. After install, reload the runner; it re-reads the catalog and advertises every action.

content hash: sha256:508bc3ad8e3304814d24ce4de6f4aa83e3a4c0be1b74d8749a9fa62273d84f3e

on the runner host
sudo emisar pack install postgres \
  --hash sha256:508bc3ad8e3304814d24ce4de6f4aa83e3a4c0be1b74d8749a9fa62273d84f3e \
  --dest /etc/emisar/packs

# Reload so the runner re-reads the catalog:
sudo systemctl reload emisar

Actions 48 total

View on GitHub