Simplify transformJsonAggConstructor() API
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 30 Mar 2023 19:07:24 +0000 (21:07 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 30 Mar 2023 19:07:24 +0000 (21:07 +0200)
commit63cc20205c1a0022d808a783b3025029bb09101e
tree27acbd610206e2135a6c52e17b061986adb3dbd6
parent60966f56c3e4db9f9bdff485371ef3a50d53431f
Simplify transformJsonAggConstructor() API

There's no need for callers to pass aggregate names so that the function
can resolve them to OIDs, when callers can just pass aggregate OIDs
directly to begin with.
src/backend/parser/parse_expr.c