MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / newInvalidSQLDurationError

Function newInvalidSQLDurationError

pkg/sql/sem/tree/interval.go:181–183  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

179)
180
181func newInvalidSQLDurationError(s string) error {
182 return pgerror.Newf(pgcode.InvalidDatetimeFormat, errInvalidSQLDuration, s)
183}
184
185// Parses a SQL standard interval string.
186// See the following links for examples:

Callers 2

sqlStdToDurationFunction · 0.85
iso8601ToDurationFunction · 0.85

Calls 1

NewfFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…