package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
DefaultSearchPathForUser returns the default search path with the user specific schema name set so that it can be expanded during resolution.
FormatSearchPaths formats a search path for display.
MakeSearchPath returns a new immutable SearchPath struct.
MarshalNonLocal serializes all non-local parameters from SessionData struct that don't have native protobuf support into proto.
NewSequenceState creates a SequenceState.
NewStack creates a new tack.
ParseSearchPath parses a string into a list of schema names.
UnmarshalNonLocal returns a new SessionData based on the serialized representation.
# Variables
DefaultSearchPath is the search path used by virgin sessions.
EmptySearchPath is a SearchPath with no schema names in it.
NodeUserSessionDataOverride is an InternalExecutorOverride which overrides the user to the NodeUser.
NodeUserWithBulkLowPriSessionDataOverride is an InternalExecutorOverride which overrides the user to the NodeUser and sets the quality of service to sessiondatapb.BulkLow.
NodeUserWithLowUserPrioritySessionDataOverride is an InternalExecutorOverride which overrides the user to the NodeUser and sets the quality of service to sessiondatapb.UserLow.
NoSessionDataOverride is the empty InternalExecutorOverride which does not override any session data.
# Structs
InternalExecutorOverride is used by the Executor interface to allow control over some of the session data.
LocalUnmigratableSessionData contains session parameters that cannot be propagated to remote nodes and cannot be migrated to another session.
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.
Stack represents a stack of SessionData objects.