MCPcopy Create free account
hub / github.com/dolthub/doltgresql / NewInvalidNestedSRFError

Function NewInvalidNestedSRFError

postgres/parser/sem/tree/type_check.go:716–719  ·  view source on GitHub ↗

NewInvalidNestedSRFError creates a rejection for a nested SRF.

(context string)

Source from the content-addressed store, hash-verified

714
715// NewInvalidNestedSRFError creates a rejection for a nested SRF.
716func NewInvalidNestedSRFError(context string) error {
717 return pgerror.Newf(pgcode.FeatureNotSupported,
718 "set-returning functions must appear at the top level of %s", context)
719}
720
721// NewInvalidFunctionUsageError creates a rejection for a special function.
722func NewInvalidFunctionUsageError(class FunctionClass, context string) error {

Callers 1

checkFunctionUsageMethod · 0.85

Calls 1

NewfFunction · 0.92

Tested by

no test coverage detected