Module session

Source
Expand description

Per-connection configuration parameters and state.

Structs§

GroupCommitWriteLocks 🔒
Collection of WriteLocks gathered during group_commit.
InProgressRows
State of an in-progress, rows-returning portal.
LifecycleTimestamps
Part of statement lifecycle. These are timestamps that come from the Adapter frontend (mz-pgwire) part of the lifecycle.
Portal
A portal represents the execution state of a running or runnable query.
PreparedStatement
A prepared statement.
Session
A session holds per-connection state.
SessionConfig
Configures a new Session.
SessionMeta
Data structure suitable for passing to other threads that need access to some common Session properties.
SessionVars
Session variables.
Transaction
State data for transactions.
WriteLocks
A complete set of exclusive locks for writing to collections identified by CatalogItemIds.
WriteLocksBuilder
A builder struct that helps us acquire all of the locks we need, or none of them.
WriteOp
An INSERT waiting to be committed.

Enums§

EndTransactionAction
The action to take during end_transaction.
PortalState
Execution states of a portal.
RequireLinearization
Whether a transaction requires linearization.
TransactionCode
A transaction’s status code.
TransactionOps
The type of operation being performed by the transaction.
TransactionStatus
The transaction status of a session.

Constants§

DEFAULT_DATABASE_NAME
The name of the default database that Materialize uses.
DUMMY_CONNECTION_ID 🔒
SERVER_MAJOR_VERSION
The major version of PostgreSQL that Materialize claims to be.
SERVER_MINOR_VERSION
The minor version of PostgreSQL that Materialize claims to be.
SERVER_PATCH_VERSION
The patch version of PostgreSQL that Materialize claims to be.

Traits§

Var
A Var represents a configuration parameter of an arbitrary type.

Type Aliases§

RowBatchStream
A channel of batched rows.
TransactionId
An abstraction allowing us to identify different transactions.