src/bin/pg_dump/pg_dump.c
static char *
format_function_arguments(const FuncInfo *finfo, const char *funcargs, bool is_agg)
{
	PQExpBufferData fn;

	initPQExpBuffer(&fn);
	appendPQExpBufferStr(&fn, fmtId(finfo->dobj.name));
	if (is_agg && finfo->nargs == 0)
		appendPQExpBufferStr(&fn, "(*)");
	else
		appendPQExpBuffer(&fn, "(%s)", funcargs);
	return fn.data;
}
/*
 * format_function_arguments: generate function name and argument list
 *
 * This is used when we can rely on pg_get_function_arguments to format
 * the argument list.  Note, however, that pg_get_function_arguments
 * does not special-case zero-argument aggregates.
 */
generate function name and argument list
This is used when we can rely on pg_get_function_arguments to format
the argument list.  Note, however, that pg_get_function_arguments
does not special-case zero-argument aggregates.
generate function name and argument list This is used when we can rely on pg_get_function_arguments to format the argument list . Note however that pg_get_function_arguments does not special - case zero - argument aggregates .
static char *
format_function_arguments(const FuncInfo *finfo, const char *funcargs, bool is_agg)
{
	PQExpBufferData fn;
	initPQExpBuffer(&fn);
	appendPQExpBufferStr(&fn, fmtId(finfo->dobj.name));
	if (is_agg && finfo->nargs == 0)
		appendPQExpBufferStr(&fn, "(*)");
	else
		appendPQExpBuffer(&fn, "(%s)", funcargs);
	return fn.data;
}
static char * format_function_arguments ( const FuncInfo * finfo , const char * funcargs , bool is_agg ) { PQExpBufferData fn ; initPQExpBuffer ( & fn ) ; appendPQExpBufferStr ( & fn , fmtId ( finfo -> dobj . name ) ) ; if ( is_agg && finfo -> nargs == 0 ) appendPQExpBufferStr ( & fn , " " ) ; else appendPQExpBuffer ( & fn , " " , funcargs ) ; return fn . data ; }
format_function_arguments: generate function name and argument list
 This is used when we can rely on pg_get_function_arguments to format
 the argument list.
format_function_arguments : generate function name and argument list This is used when we can rely on pg_get_function_arguments to format the argument list .