Add missing initialization in transformJsonFuncExpr()

Amit Langote <amitlan@postgresql.org>

Commit: 6f4d63e989ffbdb44f5856a17fae5ae68c40327d
Author: Amit Langote <amitlan@postgresql.org>
Date: 2024-04-04T13:01:13Z
Releases: 17.0
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@xs4all.nl>
Discussion: https://postgr.es/m/254b2fa2-2f6b-a30a-20ee-21f8a2c12a50@xs4all.nl

Files

PathChange+/−
src/backend/parser/parse_expr.c modified +1 −0

Discussion

Cited messages not in the archive: 254b2fa2-2f6b-a30a-20ee-21f8a2c12a50@xs4all.nl