Expand description
PostgreSQL-owned mechanics for starting a configured Datastore creation saga.
Structs§
- PgDatastore
Creation Connection - Explicit PostgreSQL authority used for one configured creation attempt.
- PgDatastore
Creation Spec - PostgreSQL names and initial binding required for a new Datastore.
- PgDatastore
Reconciliation Error - Closed adapter failure for retained-state inspection and reconciliation.
- PgDatastore
Validation Spec - Expected PostgreSQL ownership and privilege boundary for one retained Datastore.
- PgPending
Datastore Creation - PostgreSQL capabilities retained while a creation saga is in progress.
Enums§
- PgDatastore
Creation Start - Closed start result that distinguishes failures with a durable binding.
- PgDatastore
Credential Rotation Error - Disclosure-safe failure from the PostgreSQL-owned credential authority.
Functions§
- apply_
datastore_ credential_ rotation - begin_
datastore_ creation - Creates the target database and immediately records its
creatingbinding, then performs the remaining PostgreSQL side effects under the same advisory lock. Failures after the binding is durable return the pending capability so the caller can atomically mark the sagafailed. - find_
existing_ datastore_ binding - Finds the singleton identity binding in an existing target database without adopting an unbound or ambiguously bound database.
- inspect_
datastore_ identity_ bindings - Inspects every connectable database on one configured PostgreSQL server. Any database that cannot be inspected makes absence unprovable.
- rollback_
datastore_ credential_ rotation - validate_
existing_ datastore_ postgresql - Verifies retained database/schema ownership, identifier limits, role attributes, memberships, approved service-function ownership, and PUBLIC privilege revocations.