diff options
author | Michael Paquier <michael@paquier.xyz> | 2018-12-07 07:47:42 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2018-12-07 07:47:42 +0900 |
commit | 730422afcdb6784bbe20efc65de72156d470b0c4 (patch) | |
tree | 9fa0f02477ffd0f716ccdf859d9776078d3b9c28 /src/backend/utils/adt/jsonfuncs.c | |
parent | d2b0b60e71931997455afd5da72ca29148f1ca51 (diff) | |
download | postgresql-730422afcdb6784bbe20efc65de72156d470b0c4.tar.gz postgresql-730422afcdb6784bbe20efc65de72156d470b0c4.zip |
Fix some errhint and errdetail strings missing a period
As per the error message style guide of the documentation, those should
be full sentences.
Author: Daniel Gustafsson
Reviewed-by: Michael Paquier, Álvaro Herrera
Discussion: https://1E8D49B4-16BC-4420-B4ED-58501D9E076B@yesql.se
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
-rw-r--r-- | src/backend/utils/adt/jsonfuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/jsonfuncs.c b/src/backend/utils/adt/jsonfuncs.c index 1d63abc11b9..fc1581c92b0 100644 --- a/src/backend/utils/adt/jsonfuncs.c +++ b/src/backend/utils/adt/jsonfuncs.c @@ -4993,7 +4993,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) @@ -5015,7 +5015,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 */ |