@@ -10496,7 +10496,7 @@ get_json_table_columns(TableFunc *tf, JsonTableParentNode *node,
10496
10496
10497
10497
if (colexpr -> op == IS_JSON_QUERY )
10498
10498
appendStringInfoString (buf ,
10499
- colexpr -> format . type == JS_FORMAT_JSONB ?
10499
+ colexpr -> format -> format == JS_FORMAT_JSONB ?
10500
10500
" FORMAT JSONB" : " FORMAT JSON" );
10501
10501
10502
10502
appendStringInfoString (buf , " PATH " );
@@ -10538,17 +10538,17 @@ get_json_table(TableFunc *tf, deparse_context *context, bool showimplicit)
10538
10538
10539
10539
get_rule_expr (jexpr -> raw_expr , context , showimplicit );
10540
10540
10541
- if (jexpr -> format . type != JS_FORMAT_DEFAULT )
10541
+ if (jexpr -> format -> format != JS_FORMAT_DEFAULT )
10542
10542
{
10543
10543
appendStringInfoString (buf ,
10544
- jexpr -> format . type == JS_FORMAT_JSONB ?
10544
+ jexpr -> format -> format == JS_FORMAT_JSONB ?
10545
10545
" FORMAT JSONB" : " FORMAT JSON" );
10546
10546
10547
- if (jexpr -> format . encoding != JS_ENC_DEFAULT )
10547
+ if (jexpr -> format -> encoding != JS_ENC_DEFAULT )
10548
10548
{
10549
10549
const char * encoding =
10550
- jexpr -> format . encoding == JS_ENC_UTF16 ? "UTF16" :
10551
- jexpr -> format . encoding == JS_ENC_UTF32 ? "UTF32" :
10550
+ jexpr -> format -> encoding == JS_ENC_UTF16 ? "UTF16" :
10551
+ jexpr -> format -> encoding == JS_ENC_UTF32 ? "UTF32" :
10552
10552
"UTF8" ;
10553
10553
10554
10554
appendStringInfo (buf , " ENCODING %s" , encoding );
0 commit comments