Expand description
Cluster diffing.
Pair-by-name on roles; emit one ClusterChange per difference. All ops
are catalog-only metadata (DDL through pg_authid), so they’re safe by
default — except DropRole, which is intent-gated because it can orphan
grants in other DBs.
Structs§
- Cluster
Change Entry - A single entry in a
ClusterChangeSet, pairing a change with its risk level. - Cluster
Change Set - The full set of changes needed to converge one
ClusterCatalogto another.
Enums§
- Cluster
Change - One change to apply to a cluster’s role layout.
Functions§
- diff_
cluster - Diff
sourceagainsttarget.target= current live cluster state;source= desired state fromroles/*.sql. Resulting ops applied totargetproducesource.