Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfc7dded

Browse files
Clarify nbtree array preprocessing comment.
Oversight in commit5bf748b.
1 parent6d5444c commitfc7dded

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)

[8]ページ先頭

©2009-2025 Movatter.jp