Fix a couple of comment typos
authorDavid Rowley <drowley@postgresql.org>
Wed, 30 Apr 2025 01:40:46 +0000 (13:40 +1200)
committerDavid Rowley <drowley@postgresql.org>
Wed, 30 Apr 2025 01:40:46 +0000 (13:40 +1200)
Author: Junwang Zhao <zhjwpku@gmail.com>
Discussion: https://postgr.es/m/CAEG8a3+MRwDKc4YSFKKPKq7Y+vMufVC5u94wM5KZPB2CbgCxnQ@mail.gmail.com

src/backend/access/transam/multixact.c
src/backend/utils/adt/jsonfuncs.c

index 9d25a7df0d32088abe67357f220e25621afb81e1..ef91e70f41dc9f4234c0a927e8562bcbcf2afb47 100644 (file)
@@ -1287,7 +1287,7 @@ GetNewMultiXactId(int nmembers, MultiXactOffset *offset)
  * range, in which case an error would be raised.
  *
  * In all other cases, the passed multixact must be within the known valid
- * range, that is, greater to or equal than oldestMultiXactId, and less than
+ * range, that is, greater than or equal to oldestMultiXactId, and less than
  * nextMXact.  Otherwise, an error is raised.
  *
  * isLockOnly must be set to true if caller is certain that the given multi
index 9f43b58dba5f51375e0ee6ac20705f3b2e8e8b2f..eab102a2474034b395063f66ebe360c6ae0d65ee 100644 (file)
@@ -1723,7 +1723,7 @@ push_path(JsonbParseState **st, int level, Datum *path_elems,
 {
    /*
     * tpath contains expected type of an empty jsonb created at each level
-    * higher or equal than the current one, either jbvObject or jbvArray.
+    * higher or equal to the current one, either jbvObject or jbvArray.
     * Since it contains only information about path slice from level to the
     * end, the access index must be normalized by level.
     */