aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2025-04-21 10:41:18 +1200
committerDavid Rowley <drowley@postgresql.org>2025-04-21 10:41:18 +1200
commit84fd3bc141039b32f25c3c9f6157163a56ab5f66 (patch)
tree7730cc9fb8afa2106520a0199b7146f29e9c6e52 /src/backend/access
parent818013665259d4242ba641aad705ebe5a3e2db8e (diff)
downloadpostgresql-84fd3bc141039b32f25c3c9f6157163a56ab5f66.tar.gz
postgresql-84fd3bc141039b32f25c3c9f6157163a56ab5f66.zip
Fix a few duplicate words in comments
These are all new to v18 Author: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAApHDvrMcr8XD107H3NV=WHgyBcu=sx5+7=WArr-n_cWUqdFXQ@mail.gmail.com
Diffstat (limited to 'src/backend/access')
-rw-r--r--src/backend/access/nbtree/nbtpreprocesskeys.c2
-rw-r--r--src/backend/access/nbtree/nbtutils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/nbtree/nbtpreprocesskeys.c b/src/backend/access/nbtree/nbtpreprocesskeys.c
index 4f525f7b26f..1cc99e6cdf2 100644
--- a/src/backend/access/nbtree/nbtpreprocesskeys.c
+++ b/src/backend/access/nbtree/nbtpreprocesskeys.c
@@ -2051,7 +2051,7 @@ _bt_preprocess_array_keys_final(IndexScanDesc scan, int *keyDataMap)
* the scan's BTArrayKeyInfo array, which is guaranteed to be large enough to
* fit every so->arrayKeys[] entry.
*
- * Also sets *numSkipArrayKeys_out to the number of of skip arrays caller must
+ * Also sets *numSkipArrayKeys_out to the number of skip arrays caller must
* add to the scan keys it'll output. Caller must add this many skip arrays:
* one array for each of the most significant attributes that lack a = input
* key (IS NULL keys count as = input keys here). The specific attributes
diff --git a/src/backend/access/nbtree/nbtutils.c b/src/backend/access/nbtree/nbtutils.c
index 9e27302fe81..8b025796127 100644
--- a/src/backend/access/nbtree/nbtutils.c
+++ b/src/backend/access/nbtree/nbtutils.c
@@ -2597,7 +2597,7 @@ _bt_set_startikey(IndexScanDesc scan, BTReadPageState *pstate)
continue;
}
- /* Some = key (could be a a scalar = key, could be an array = key) */
+ /* Some = key (could be a scalar = key, could be an array = key) */
Assert(key->sk_strategy == BTEqualStrategyNumber);
if (!(key->sk_flags & SK_SEARCHARRAY))