Skip to main content

begin_datastore_creation

Function begin_datastore_creation 

Source
pub fn begin_datastore_creation(
    connection: &PgDatastoreCreationConnection,
    administrator_password: &SecretMaterial,
    catalog_password: &SecretMaterial,
    spec: PgDatastoreCreationSpec,
) -> PgDatastoreCreationStart
Expand description

Creates the target database and immediately records its creating binding, 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 saga failed.