pgsql: Add missing initialization in transformJsonFuncExpr()

From: Amit Langote <amitlan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add missing initialization in transformJsonFuncExpr()
Date: 2024-04-04 13:06:23
Message-ID: E1rsMnO-000StP-MV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add missing initialization in transformJsonFuncExpr()

de3600452b added some code for the new JSON_TABLE_OP to that function
but missed to initialize the default_format variable.

Reported-by: Erik Rijkers <er(at)xs4all(dot)nl>
Discussion: https://postgr.es/m/254b2fa2-2f6b-a30a-20ee-21f8a2c12a50@xs4all.nl

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6f4d63e989ffbdb44f5856a17fae5ae68c40327d

Modified Files
--------------
src/backend/parser/parse_expr.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Langote 2024-04-04 13:07:18 Re: pgsql: Add basic JSON_TABLE() functionality
Previous Message Andrew Dunstan 2024-04-04 13:06:06 Re: pgsql: Add basic JSON_TABLE() functionality