Skip to content

Commit fc7dded

Browse files
Clarify nbtree array preprocessing comment.
Oversight in commit 5bf748b.
1 parent 6d5444c commit fc7dded

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/access/nbtree/nbtutils.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2901,8 +2901,9 @@ _bt_preprocess_keys(IndexScanDesc scan)
29012901
* ...unless we have to keep the old key because it's
29022902
* an array that rendered the new key redundant. We
29032903
* 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).
2904+
* scan key. _bt_preprocess_array_keys_final expects
2905+
* us to keep all of the arrays that weren't already
2906+
* eliminated by _bt_preprocess_array_keys earlier on.
29062907
*/
29072908
Assert(!(inkey->sk_flags & SK_SEARCHARRAY));
29082909
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy