pub fn requires_autocommit(sql: &str) -> boolExpand description
Statements Postgres refuses inside a transaction block, judged by their
leading keywords after any comments: CREATE/DROP INDEX CONCURRENTLY,
REINDEX … CONCURRENTLY, REINDEX DATABASE/SYSTEM, VACUUM,
CREATE/DROP DATABASE, CREATE/DROP TABLESPACE, ALTER SYSTEM,
CLUSTER, DISCARD ALL.