Fix nbtree contradictory array element comment.
authorPeter Geoghegan <[email protected]>
Thu, 16 Jan 2025 16:26:41 +0000 (11:26 -0500)
committerPeter Geoghegan <[email protected]>
Thu, 16 Jan 2025 16:26:41 +0000 (11:26 -0500)
Oversight in commit 5bf748b8, which enhanced nbtree ScalarArrayOp
execution.

src/backend/access/nbtree/nbtpreprocesskeys.c

index b026fedae1d915793d8047718a3e1aba68c2fd84..1fd1da5f18b31bf56909658ab4ad3917200feae5 100644 (file)
@@ -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,