@@ -141,7 +141,7 @@ registerJsonTableColumn(JsonTableContext *cxt, char *colname)
141
141
ereport (ERROR ,
142
142
(errcode (ERRCODE_DUPLICATE_ALIAS ),
143
143
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. " )));
145
145
146
146
cxt -> pathNames = lappend (cxt -> pathNames , colname );
147
147
}
@@ -258,7 +258,7 @@ validateJsonTableChildPlan(ParseState *pstate, JsonTablePlan *plan,
258
258
ereport (ERROR ,
259
259
(errcode (ERRCODE_SYNTAX_ERROR ),
260
260
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 ),
262
262
parser_errposition (pstate , jtc -> location )));
263
263
264
264
nchildren ++ ;
@@ -269,7 +269,7 @@ validateJsonTableChildPlan(ParseState *pstate, JsonTablePlan *plan,
269
269
ereport (ERROR ,
270
270
(errcode (ERRCODE_SYNTAX_ERROR ),
271
271
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. " ),
273
273
parser_errposition (pstate , plan ? plan -> location : -1 )));
274
274
}
275
275
@@ -385,7 +385,7 @@ transformJsonTableChildPlan(JsonTableContext *cxt, JsonTablePlan *plan,
385
385
ereport (ERROR ,
386
386
(errcode (ERRCODE_SYNTAX_ERROR ),
387
387
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. " ,
389
389
plan -> pathname ),
390
390
parser_errposition (cxt -> pstate , plan -> location )));
391
391
@@ -586,7 +586,7 @@ transformJsonTableColumns(JsonTableContext *cxt, JsonTablePlan *plan,
586
586
ereport (ERROR ,
587
587
(errcode (ERRCODE_SYNTAX_ERROR ),
588
588
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. " ),
590
590
parser_errposition (cxt -> pstate , plan -> location )));
591
591
592
592
parentPlan = plan -> plan1 ;
@@ -605,7 +605,7 @@ transformJsonTableColumns(JsonTableContext *cxt, JsonTablePlan *plan,
605
605
ereport (ERROR ,
606
606
(errcode (ERRCODE_SYNTAX_ERROR ),
607
607
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. " ,
609
609
* pathName , parentPlan -> pathname ),
610
610
parser_errposition (cxt -> pstate , plan -> location )));
611
611
0 commit comments