1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-03 22:24:49 +03:00

Fix nbtree contradictory array element comment.

Oversight in commit 5bf748b8, which enhanced nbtree ScalarArrayOp
execution.
This commit is contained in:
Peter Geoghegan 2025-01-16 11:26:41 -05:00
parent 86374c9a0e
commit 901bd4a65a

View 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,