Skip to main content

load_pg_stat_statements

Function load_pg_stat_statements 

Source
pub fn load_pg_stat_statements(path: &Path) -> Result<ResidualStream>
Expand description

Load a pg_stat_statements snapshot CSV and produce a residual stream containing plan-regression + workload-phase samples. Errors if the file is missing, the schema does not match, or fewer than two snapshots are present (the adapter cannot compute a delta from a single snapshot).