package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Walk traverses the plpgsql statement.
# Constants
GetDiagnosticsColumnName returns the column name related to the exception.
GetDiagnosticsConstraintName returns the constraint name related to the exception.
GetDiagnosticsContext returns text describing the current call stack.
GetDiagnosticsDatatypeName returns the data type name related to the exception.
GetDiagnosticsErrorContext returns text describing the exception's callstack.
GetDiagnosticsErrorDetail returns the exceptions detail message.
GetDiagnosticsErrorHint returns the exceptions hint message.
GetDiagnosticsMessageText returns the exceptions primary message.
GetDiagnosticsReturnedSQLState returns the SQLSTATE error code related to the exception.
GetDiagnosticsRowCount returns the number of rows processed by the recent SQL command.
GetDiagnosticsSchemaName returns the name of the schema related to the exception.
GetDiagnosticsTableName returns the name of the table related to the exception.
# Structs
stmt_assert.
stmt_assign.
pl_block.
stmt_call.
stmt_case.
No description provided by the author
stmt_close.
No description provided by the author
stmt_continue.
No description provided by the author
decl_stmt.
stmt_do.
stmt_dynexecute TODO(chengxiong): query should be a better expression type.
No description provided by the author
No description provided by the author
stmt_execsql.
stmt_exit.
stmt_fetch stmt_move (where IsMove = true).
stmt_foreach_a.
stmt_for.
stmt_getdiag.
No description provided by the author
stmt_if.
No description provided by the author
stmt_loop.
stmt_null.
stmt_open.
stmt_perform.
stmt_raise.
No description provided by the author
stmt_return.
No description provided by the author
No description provided by the author
SQLStmtVisitor applies a visitor to every SQL statement and expression found while walking the PL/pgSQL AST.
No description provided by the author
stmt_commit and stmt_rollback.
TypeRefVisitor calls the given replace function on each type reference contained in the visited PLpgSQL statements.
stmt_while.
# Interfaces
ForLoopControl is an interface covering the loop control structures for the integer range, query, and cursor FOR loops.
No description provided by the author
StatementVisitor defines methods that are called plpgsql statements during a statement walk.
# Type aliases
No description provided by the author
No description provided by the author
GetDiagnosticsKind represents the type of error diagnostic item in stmt_getdiag.
No description provided by the author