From 901bd4a65ab9bc0025be0fc8fe1fce3c69e7b78e Mon Sep 17 00:00:00 2001 From: Peter Geoghegan Date: Thu, 16 Jan 2025 11:26:41 -0500 Subject: [PATCH] Fix nbtree contradictory array element comment. Oversight in commit 5bf748b8, which enhanced nbtree ScalarArrayOp execution. --- src/backend/access/nbtree/nbtpreprocesskeys.c | 4 ++-- 1 file 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,