NewInvalidNestedSRFError creates a rejection for a nested SRF.
(context string)
| 714 | |
| 715 | // NewInvalidNestedSRFError creates a rejection for a nested SRF. |
| 716 | func 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. |
| 722 | func NewInvalidFunctionUsageError(class FunctionClass, context string) error { |
no test coverage detected