Fix typo
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 8 Sep 2021 14:48:51 +0000 (16:48 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 8 Sep 2021 14:48:51 +0000 (16:48 +0200)
src/backend/utils/adt/jsonfuncs.c

index 5fd54b64b56113cb151a94b317185360c6ea4ce5..6335845d08eb5306ce6522804f3617bc20381f16 100644 (file)
@@ -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.