Module mz_adapter::session
source · Expand description
Per-connection configuration parameters and state.
Structs§
- Collection of
WriteLocks
gathered duringgroup_commit
. - State of an in-progress, rows-returning portal.
- A portal represents the execution state of a running or runnable query.
- A prepared statement.
- A session holds per-connection state.
- Configures a new
Session
. - Data structure suitable for passing to other threads that need access to some common Session properties.
- Session variables.
- State data for transactions.
- A complete set of exclusive locks for writing to collections identified by
CatalogItemId
s. - A builder struct that helps us acquire all of the locks we need, or none of them.
- An
INSERT
waiting to be committed.
Enums§
- The action to take during end_transaction.
- Execution states of a portal.
- Whether a transaction requires linearization.
- A transaction’s status code.
- The type of operation being performed by the transaction.
- The transaction status of a session.
Constants§
- The name of the default database that Materialize uses.
- The major version of PostgreSQL that Materialize claims to be.
- The minor version of PostgreSQL that Materialize claims to be.
- The patch version of PostgreSQL that Materialize claims to be.
Traits§
- A
Var
represents a configuration parameter of an arbitrary type.
Type Aliases§
- A channel of batched rows.
- An abstraction allowing us to identify different transactions.