1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

Add missing serial commas

This commit is contained in:
Peter Eisentraut
2018-06-07 23:37:09 -04:00
parent 5efbdd36f1
commit 25cf4ed1dc
4 changed files with 10 additions and 10 deletions

View File

@ -4975,7 +4975,7 @@ parse_jsonb_index_flags(Jsonb *jb)
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("flag array element is not a string"),
errhint("Possible values are: \"string\", \"numeric\", \"boolean\", \"key\" and \"all\"")));
errhint("Possible values are: \"string\", \"numeric\", \"boolean\", \"key\", and \"all\"")));
if (v.val.string.len == 3 &&
pg_strncasecmp(v.val.string.val, "all", 3) == 0)
@ -4997,7 +4997,7 @@ parse_jsonb_index_flags(Jsonb *jb)
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("wrong flag in flag array: \"%s\"",
pnstrdup(v.val.string.val, v.val.string.len)),
errhint("Possible values are: \"string\", \"numeric\", \"boolean\", \"key\" and \"all\"")));
errhint("Possible values are: \"string\", \"numeric\", \"boolean\", \"key\", and \"all\"")));
}
/* expect end of array now */