package
23.2.20+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
CountPLpgSQLStmt parses the function body and calls the Walk function for each plpgsql statement.
MakePLpgSQLTelemetryVisitor makes a plpgsql telemetry visitor, for capturing test telemetry.
ParseAndCollectTelemetryForPLpgSQLFunc takes a plpgsql function and parses and collects telemetry on the parsable statements.
# Structs
SQLStmtVisitor calls Fn for every SQL statement and expression found while walking the PLpgSQL AST.
TypeRefVisitor calls the given replace function on each type reference contained in the visited PLpgSQL statements.
# Type aliases
PLpgSQLStmtCounter is used to accurately report telemetry for plpgsql statements test .