Skip to main content

Module session

Module session 

Source
Expand description

Runs one statement on a pooled connection inside a READ ONLY transaction, then resets the session.

Structs§

RunOutput
SessionSettings

Enums§

RunError

Functions§

run_readonly
user_sql true: the server must report zero parameters. params are text-format values.
run_readonly_explain_generic
Runs an EXPLAIN GENERIC_PLAN text through the simple protocol behind a server-side preflight. Bind values would make PostgreSQL plan the value, so the text is sent with none.