MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / plpgsqlStatname

Function plpgsqlStatname

pkg/sql/plpgsql/parser/plpgsql.go:976–983  ·  view source on GitHub ↗
(s int)

Source from the content-addressed store, hash-verified

974}
975
976func plpgsqlStatname(s int) string {
977 if s >= 0 && s < len(plpgsqlStatenames) {
978 if plpgsqlStatenames[s] != "" {
979 return plpgsqlStatenames[s]
980 }
981 }
982 return __yyfmt__.Sprintf("state-%v", s)
983}
984
985func plpgsqlErrorMessage(state, lookAhead int) string {
986 const TOKSTART = 4

Callers 1

ParseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…