aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2025-01-16 11:26:41 -0500
committerPeter Geoghegan <pg@bowt.ie>2025-01-16 11:26:41 -0500
commit901bd4a65ab9bc0025be0fc8fe1fce3c69e7b78e (patch)
treece5203712fd3cc93125df87b3c2b989b86be2dac /src
parent86374c9a0e304520044ab8b2cb84849c7db4a9fa (diff)
downloadpostgresql-901bd4a65ab9bc0025be0fc8fe1fce3c69e7b78e.tar.gz
postgresql-901bd4a65ab9bc0025be0fc8fe1fce3c69e7b78e.zip
Fix nbtree contradictory array element comment.
Oversight in commit 5bf748b8, which enhanced nbtree ScalarArrayOp execution.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/nbtree/nbtpreprocesskeys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/nbtree/nbtpreprocesskeys.c b/src/backend/access/nbtree/nbtpreprocesskeys.c
index b026fedae1d..1fd1da5f18b 100644
--- a/src/backend/access/nbtree/nbtpreprocesskeys.c
+++ b/src/backend/access/nbtree/nbtpreprocesskeys.c
@@ -1776,8 +1776,8 @@ _bt_sort_array_elements(ScanKey skey, FmgrInfo *sortproc, bool reverse,
* may not be able to determine which elements are contradictory. If we have
* the required ORDER proc then we return true (and validly set *nelems_orig),
* guaranteeing that at least the next array can be considered redundant. We
- * return false if the required comparisons cannot not be made (caller must
- * keep both arrays when this happens).
+ * return false if the required comparisons cannot be made (caller must keep
+ * both arrays when this happens).
*/
static bool
_bt_merge_arrays(IndexScanDesc scan, ScanKey skey, FmgrInfo *sortproc,