postgres.git / summary / log / commit / refs
commit 7390b6421a98b70554b6b5edea5d6e012dfdbbba
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Wed Sep 08 14:48:51 2021 +0000
First released in: 15.0
Fix typo
src/backend/utils/adt/jsonfuncs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/utils/adt/jsonfuncs.c b/src/backend/utils/adt/jsonfuncs.c
index 5fd54b64b56..6335845d08e 100644
--- a/src/backend/utils/adt/jsonfuncs.c
+++ b/src/backend/utils/adt/jsonfuncs.c
@@ -4922,7 +4922,7 @@ setPath(JsonbIterator **it, Datum *path_elems,
case WJB_BEGIN_ARRAY:
/*
- * If instructed complain about attempts to replace whithin a raw
+ * If instructed complain about attempts to replace within a raw
* scalar value. This happens even when current level is equal to
* path_len, because the last path key should also correspond to
* an object or an array, not raw scalar.
@@ -4954,7 +4954,7 @@ setPath(JsonbIterator **it, Datum *path_elems,
case WJB_VALUE:
/*
- * If instructed complain about attempts to replace whithin a
+ * If instructed complain about attempts to replace within a
* scalar value. This happens even when current level is equal to
* path_len, because the last path key should also correspond to
* an object or an array, not an element or value.
[parent: a3d2b1bbe904]