1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-20 00:42:27 +03:00
This commit is contained in:
Peter Eisentraut 2021-09-08 16:48:51 +02:00
parent a3d2b1bbe9
commit 7390b6421a

View File

@ -4922,7 +4922,7 @@ setPath(JsonbIterator **it, Datum *path_elems,
case WJB_BEGIN_ARRAY: 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 * scalar value. This happens even when current level is equal to
* path_len, because the last path key should also correspond to * path_len, because the last path key should also correspond to
* an object or an array, not raw scalar. * an object or an array, not raw scalar.
@ -4954,7 +4954,7 @@ setPath(JsonbIterator **it, Datum *path_elems,
case WJB_VALUE: 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 * scalar value. This happens even when current level is equal to
* path_len, because the last path key should also correspond to * path_len, because the last path key should also correspond to
* an object or an array, not an element or value. * an object or an array, not an element or value.