package
19.2.12+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

BytesEncodeFormatFromString converts a string into a BytesEncodeFormat.
DistSQLExecModeFromString converts a string into a DistSQLExecMode.
MakeSearchPath returns a new immutable SearchPath struct.
NewSequenceState creates a SequenceState.
SerialNormalizationModeFromString converts a string into a SerialNormalizationMode.
VectorizeExecModeFromString converts a string into a VectorizeExecMode.

# Constants

BytesEncodeBase64 uses base64 encoding.
BytesEncodeEscape uses the escaped format: e'abc\n'::BYTES::STRING -> 'abc\012'.
BytesEncodeHex uses the hex format: e'abc\n'::BYTES::STRING -> '\x61626312'.
DefaultDatabaseName is the name ofthe default CockroachDB database used for connections without a current db set.
DistSQLAlways means that we only distribute; unsupported queries fail.
DistSQLAuto means that we automatically decide on a case-by-case basis if we distribute queries.
DistSQLOff means that we never distribute queries.
DistSQLOn means that we distribute queries that are supported.
PgCatalogName is the name of the pg_catalog system schema.
PgDatabaseName is the name of the default postgres system database.
SerialUsesRowID means use INT NOT NULL DEFAULT unique_rowid().
SerialUsesSQLSequences means create a regular SQL sequence and use INT NOT NULL DEFAULT nextval(...).
SerialUsesVirtualSequences means create a virtual sequence and use INT NOT NULL DEFAULT nextval(...).
VectorizeAuto means that that any supported queries that use only streaming operators (i.e.
VectorizeExperimentalAlways means that we attempt to vectorize all queries; unsupported queries will fail.
VectorizeExperimentalOn means that any supported queries will be run using the columnar execution on.
VectorizeOff means that columnar execution is disabled.

# Structs

DataConversionConfig contains the parameters that influence the conversion between SQL data types and strings/byte arrays.
SearchPath represents a list of namespaces to search builtins in.
SearchPathIter enables iteration over the search paths without triggering an allocation.
SequenceState stores session-scoped state used by sequence builtins.
SessionData contains session parameters.

# Type aliases

BytesEncodeFormat controls which format to use for BYTES->STRING conversions.
DistSQLExecMode controls if and when the Executor distributes queries.
SerialNormalizationMode controls if and when the Executor uses DistSQL.
VectorizeExecMode controls if an when the Executor executes queries using the columnar execution engine.