summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rowley2025-04-30 01:40:46 +0000
committerDavid Rowley2025-04-30 01:40:46 +0000
commitd8555e522eca00f1b4b6cd0b75269b7176fb7931 (patch)
tree44f3cd923c1cad4c31b0e673a085afb3d0d75c13
parent810a8b1c8051d4e8822967a96f133692698386de (diff)
Fix a couple of comment typos
Author: Junwang Zhao <[email protected]> Discussion: https://postgr.es/m/CAEG8a3+MRwDKc4YSFKKPKq7Y+vMufVC5u94wM5KZPB2CbgCxnQ@mail.gmail.com
-rw-r--r--src/backend/access/transam/multixact.c2
-rw-r--r--src/backend/utils/adt/jsonfuncs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/multixact.c b/src/backend/access/transam/multixact.c
index 9d25a7df0d3..ef91e70f41d 100644
--- a/src/backend/access/transam/multixact.c
+++ b/src/backend/access/transam/multixact.c
@@ -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
diff --git a/src/backend/utils/adt/jsonfuncs.c b/src/backend/utils/adt/jsonfuncs.c
index 9f43b58dba5..eab102a2474 100644
--- a/src/backend/utils/adt/jsonfuncs.c
+++ b/src/backend/utils/adt/jsonfuncs.c
@@ -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.
*/