pgsql: Simplify transformJsonAggConstructor() API

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Simplify transformJsonAggConstructor() API
Date: 2023-03-30 19:08:33
Message-ID: E1phxdQ-000WHC-5D@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/63cc20205c1a0022d808a783b3025029bb09101e

Modified Files
--------------
src/backend/parser/parse_expr.c | 36 +++++++++++++++---------------------
1 file changed, 15 insertions(+), 21 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-03-30 19:19:17 Re: pgsql: Clean up role created in new subscription test.
Previous Message Alvaro Herrera 2023-03-30 19:07:10 pgsql: Fix inconsistencies and style issues in new SQL/JSON code