//! Newtype wrapper around `sqlx::PgPool` so the CLI's
//! [`crate::context::Context`] holds a domain-typed handle.
//!
//! Construction is private to this crate via [`super::init::init`]; the
//! pool itself is concurrency-safe so callers can hold `&Pool`
//! everywhere a sqlite `Arc<Mutex<Connection>>` used to be threaded.
use PgPool;
PgPool);
/// The live pool PLUS the admin coordinates it was built from —
/// what [`super::compartment`] needs to mint derived per-plugin
/// connection strings. Cached as a unit by `Context::db_client`;
/// the password stays in memory exactly as long as the pool it
/// authenticated.