|
|
|
@ -417,7 +417,9 @@ ParseFuncOrColumn(ParseState *pstate, List *funcname, List *fargs, |
|
|
|
|
func_signature_string(funcname, nargs, |
|
|
|
|
argnames, |
|
|
|
|
actual_arg_types)), |
|
|
|
|
errhint("There is an ordered-set aggregate %s, but it requires %d direct arguments, not %d.", |
|
|
|
|
errhint_plural("There is an ordered-set aggregate %s, but it requires %d direct argument, not %d.", |
|
|
|
|
"There is an ordered-set aggregate %s, but it requires %d direct arguments, not %d.", |
|
|
|
|
catDirectArgs, |
|
|
|
|
NameListToString(funcname), |
|
|
|
|
catDirectArgs, numDirectArgs), |
|
|
|
|
parser_errposition(pstate, location))); |
|
|
|
@ -446,7 +448,9 @@ ParseFuncOrColumn(ParseState *pstate, List *funcname, List *fargs, |
|
|
|
|
func_signature_string(funcname, nargs, |
|
|
|
|
argnames, |
|
|
|
|
actual_arg_types)), |
|
|
|
|
errhint("There is an ordered-set aggregate %s, but it requires %d direct arguments, not %d.", |
|
|
|
|
errhint_plural("There is an ordered-set aggregate %s, but it requires %d direct argument, not %d.", |
|
|
|
|
"There is an ordered-set aggregate %s, but it requires %d direct arguments, not %d.", |
|
|
|
|
catDirectArgs, |
|
|
|
|
NameListToString(funcname), |
|
|
|
|
catDirectArgs, numDirectArgs), |
|
|
|
|
parser_errposition(pstate, location))); |
|
|
|
@ -485,7 +489,9 @@ ParseFuncOrColumn(ParseState *pstate, List *funcname, List *fargs, |
|
|
|
|
func_signature_string(funcname, nargs, |
|
|
|
|
argnames, |
|
|
|
|
actual_arg_types)), |
|
|
|
|
errhint("There is an ordered-set aggregate %s, but it requires at least %d direct arguments.", |
|
|
|
|
errhint_plural("There is an ordered-set aggregate %s, but it requires at least %d direct argument.", |
|
|
|
|
"There is an ordered-set aggregate %s, but it requires at least %d direct arguments.", |
|
|
|
|
catDirectArgs, |
|
|
|
|
NameListToString(funcname), |
|
|
|
|
catDirectArgs), |
|
|
|
|
parser_errposition(pstate, location))); |
|
|
|
|