@@ -141,7 +141,7 @@ registerJsonTableColumn(JsonTableContext *cxt, char *colname)
141141ereport (ERROR ,
142142(errcode (ERRCODE_DUPLICATE_ALIAS ),
143143errmsg ("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
146146cxt -> pathNames = lappend (cxt -> pathNames ,colname );
147147}
@@ -258,7 +258,7 @@ validateJsonTableChildPlan(ParseState *pstate, JsonTablePlan *plan,
258258ereport (ERROR ,
259259(errcode (ERRCODE_SYNTAX_ERROR ),
260260errmsg ("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 ),
262262parser_errposition (pstate ,jtc -> location )));
263263
264264nchildren ++ ;
@@ -269,7 +269,7 @@ validateJsonTableChildPlan(ParseState *pstate, JsonTablePlan *plan,
269269ereport (ERROR ,
270270(errcode (ERRCODE_SYNTAX_ERROR ),
271271errmsg ("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. " ),
273273parser_errposition (pstate ,plan ?plan -> location :-1 )));
274274}
275275
@@ -385,7 +385,7 @@ transformJsonTableChildPlan(JsonTableContext *cxt, JsonTablePlan *plan,
385385ereport (ERROR ,
386386(errcode (ERRCODE_SYNTAX_ERROR ),
387387errmsg ("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. " ,
389389plan -> pathname ),
390390parser_errposition (cxt -> pstate ,plan -> location )));
391391
@@ -586,7 +586,7 @@ transformJsonTableColumns(JsonTableContext *cxt, JsonTablePlan *plan,
586586ereport (ERROR ,
587587(errcode (ERRCODE_SYNTAX_ERROR ),
588588errmsg ("invalid JSON_TABLE plan" ),
589- errdetail ("expected INNER or OUTER JSON_TABLE plan node" ),
589+ errdetail ("Expected INNER or OUTER JSON_TABLE plan node. " ),
590590parser_errposition (cxt -> pstate ,plan -> location )));
591591
592592parentPlan = plan -> plan1 ;
@@ -605,7 +605,7 @@ transformJsonTableColumns(JsonTableContext *cxt, JsonTablePlan *plan,
605605ereport (ERROR ,
606606(errcode (ERRCODE_SYNTAX_ERROR ),
607607errmsg ("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 ),
610610parser_errposition (cxt -> pstate ,plan -> location )));
611611