diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-04-09 13:53:07 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-04-09 13:53:07 +0900 |
commit | 609b0652af00374b89411ea2613fd5bb92bca92c (patch) | |
tree | f21a820ed35b1ce3c67f2a9da1b5618f805ecea2 /src/backend/utils/adt/jsonfuncs.c | |
parent | 796092fb84c08162ae803e83a13aa8bd6d9b23d0 (diff) | |
download | postgresql-609b0652af00374b89411ea2613fd5bb92bca92c.tar.gz postgresql-609b0652af00374b89411ea2613fd5bb92bca92c.zip |
Fix typos and grammar in documentation and code comments
Comment fixes are applied on HEAD, and documentation improvements are
applied on back-branches where needed.
Author: Justin Pryzby
Discussion: https://postgr.es/m/20210408164008.GJ6592@telsasoft.com
Backpatch-through: 9.6
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 9961d27df47..09fcff67299 100644 --- a/src/backend/utils/adt/jsonfuncs.c +++ b/src/backend/utils/adt/jsonfuncs.c @@ -1651,7 +1651,7 @@ push_null_elements(JsonbParseState **ps, int num) * this path. E.g. the path [a][0][b] with the new value 1 will produce the * structure {a: [{b: 1}]}. * - * Called is responsible to make sure such path does not exist yet. + * Caller is responsible to make sure such path does not exist yet. */ static void push_path(JsonbParseState **st, int level, Datum *path_elems, @@ -4887,7 +4887,7 @@ IteratorConcat(JsonbIterator **it1, JsonbIterator **it2, * than just one last element, this flag will instruct to create the whole * chain of corresponding objects and insert the value. * - * JB_PATH_CONSISTENT_POSITION for an array indicates that the called wants to + * JB_PATH_CONSISTENT_POSITION for an array indicates that the caller wants to * keep values with fixed indices. Indices for existing elements could be * changed (shifted forward) in case if the array is prepended with a new value * and a negative index out of the range, so this behavior will be prevented |