Skip to main content

Module pg_commands

Module pg_commands 

Source
Expand description

Factories for the three pg_ctl / initdb command executors.

Each function in PgCommand constructs an AsyncCommandExecutor that is ready to run but has not yet been awaited. Callers obtain the executor, then call crate::command_executor::AsyncCommand::execute to actually run the command.

Structsยง

PgCommand
Factories for the three PostgreSQL lifecycle commands.