We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d5444c commit fc7ddedCopy full SHA for fc7dded
src/backend/access/nbtree/nbtutils.c
@@ -2901,8 +2901,9 @@ _bt_preprocess_keys(IndexScanDesc scan)
2901
* ...unless we have to keep the old key because it's
2902
* an array that rendered the new key redundant. We
2903
* need to make sure that we don't throw away an array
2904
- * scan key. _bt_compare_scankey_args expects us to
2905
- * always keep arrays (and discard non-arrays).
+ * scan key. _bt_preprocess_array_keys_final expects
+ * us to keep all of the arrays that weren't already
2906
+ * eliminated by _bt_preprocess_array_keys earlier on.
2907
*/
2908
Assert(!(inkey->sk_flags & SK_SEARCHARRAY));
2909
}
0 commit comments