This works like function_with_argtypes, but aggregates allow slightly different arguments.
b999c24 Add aggregate_with_argtypes and use it consistently
src/backend/parser/gram.y | 74 +++++++++++++++++++++++++--------------------
1 file changed, 42 insertions(+), 32 deletions(-)
Upstream: git.postgresql.org