Expand description
Per-connection configuration parameters and state.
Structs§
- Group
Commit 🔒Write Locks - Collection of
WriteLocks
gathered duringgroup_commit
. - InProgress
Rows - State of an in-progress, rows-returning portal.
- Lifecycle
Timestamps - 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.
- Prepared
Statement - A prepared statement.
- Session
- A session holds per-connection state.
- Session
Config - Configures a new
Session
. - Session
Meta - Data structure suitable for passing to other threads that need access to some common Session properties.
- Session
Vars - Session variables.
- Transaction
- State data for transactions.
- Write
Locks - A complete set of exclusive locks for writing to collections identified by
CatalogItemId
s. - Write
Locks Builder - 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§
- EndTransaction
Action - The action to take during end_transaction.
- Portal
State - Execution states of a portal.
- Require
Linearization - Whether a transaction requires linearization.
- Transaction
Code - A transaction’s status code.
- Transaction
Ops - The type of operation being performed by the transaction.
- Transaction
Status - 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§
- RowBatch
Stream - A channel of batched rows.
- Transaction
Id - An abstraction allowing us to identify different transactions.