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

Function NewAggInAggError

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

NewAggInAggError creates an error for the case when an aggregate function is contained within another aggregate function.

()

Source from the content-addressed store, hash-verified

709// NewAggInAggError creates an error for the case when an aggregate function is
710// contained within another aggregate function.
711func NewAggInAggError() error {
712 return pgerror.Newf(pgcode.Grouping, "aggregate function calls cannot be nested")
713}
714
715// NewInvalidNestedSRFError creates a rejection for a nested SRF.
716func NewInvalidNestedSRFError(context string) error {

Callers 1

checkFunctionUsageMethod · 0.85

Calls 1

NewfFunction · 0.92

Tested by

no test coverage detected