Expand description
Cluster diffing.
Pair-by-name on roles and tablespaces; emit one ClusterChange per
difference. All ops are catalog-only metadata, so they’re safe by default —
except DropRole and DropTablespace, which are intent-gated because they
can orphan objects in other parts of the cluster.
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.