@@ -141,7 +141,7 @@ registerJsonTableColumn(JsonTableContext *cxt, char *colname)
141141 ereport (ERROR ,
142142 (errcode (ERRCODE_DUPLICATE_ALIAS ),
143143 errmsg ("duplicate JSON_TABLE column name: %s" , colname ),
144- errhint ("JSON_TABLE column names must be distinct from one another" )));
144+ errhint ("JSON_TABLE column names must be distinct from one another. " )));
145145
146146 cxt -> pathNames = lappend (cxt -> pathNames , colname );
147147}
@@ -258,7 +258,7 @@ validateJsonTableChildPlan(ParseState *pstate, JsonTablePlan *plan,
258258 ereport (ERROR ,
259259 (errcode (ERRCODE_SYNTAX_ERROR ),
260260 errmsg ("invalid JSON_TABLE plan" ),
261- errdetail ("plan node for nested path %s was not found in plan" , jtc -> pathname ),
261+ errdetail ("Plan node for nested path %s was not found in plan. " , jtc -> pathname ),
262262 parser_errposition (pstate , jtc -> location )));
263263
264264 nchildren ++ ;
@@ -269,7 +269,7 @@ validateJsonTableChildPlan(ParseState *pstate, JsonTablePlan *plan,
269269 ereport (ERROR ,
270270 (errcode (ERRCODE_SYNTAX_ERROR ),
271271 errmsg ("invalid JSON_TABLE plan" ),
272- errdetail ("plan node contains some extra or duplicate sibling nodes" ),
272+ errdetail ("Plan node contains some extra or duplicate sibling nodes. " ),
273273 parser_errposition (pstate , plan ? plan -> location : -1 )));
274274}
275275
@@ -385,7 +385,7 @@ transformJsonTableChildPlan(JsonTableContext *cxt, JsonTablePlan *plan,
385385 ereport (ERROR ,
386386 (errcode (ERRCODE_SYNTAX_ERROR ),
387387 errmsg ("invalid JSON_TABLE plan" ),
388- errdetail ("path name was %s not found in nested columns list" ,
388+ errdetail ("Path name was %s not found in nested columns list. " ,
389389 plan -> pathname ),
390390 parser_errposition (cxt -> pstate , plan -> location )));
391391
@@ -586,7 +586,7 @@ transformJsonTableColumns(JsonTableContext *cxt, JsonTablePlan *plan,
586586 ereport (ERROR ,
587587 (errcode (ERRCODE_SYNTAX_ERROR ),
588588 errmsg ("invalid JSON_TABLE plan" ),
589- errdetail ("expected INNER or OUTER JSON_TABLE plan node" ),
589+ errdetail ("Expected INNER or OUTER JSON_TABLE plan node. " ),
590590 parser_errposition (cxt -> pstate , plan -> location )));
591591
592592 parentPlan = plan -> plan1 ;
@@ -605,7 +605,7 @@ transformJsonTableColumns(JsonTableContext *cxt, JsonTablePlan *plan,
605605 ereport (ERROR ,
606606 (errcode (ERRCODE_SYNTAX_ERROR ),
607607 errmsg ("invalid JSON_TABLE plan" ),
608- errdetail ("path name mismatch: expected %s but %s is given" ,
608+ errdetail ("Path name mismatch: expected %s but %s is given. " ,
609609 * pathName , parentPlan -> pathname ),
610610 parser_errposition (cxt -> pstate , plan -> location )));
611611
0 commit comments