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

Commitb524974

Browse files
Refactor handling of nbtree array redundancies.
Teach _bt_preprocess_array_keys to eliminate redundant array equalityscan keys directly, rather than just marking them as redundant. Its_bt_preprocess_keys caller is no longer required to ignore input scankeys that were marked redundant in this way. Oversights like the onefixed by commitf22e17f are no longer possible.The new scheme also makes it easier for _bt_preprocess_keys to output aso.keyData[] scan key array with _more_ scan keys than it was passed inits scan.keyData[] input scan key array. An upcoming patch that addsskip scan optimizations to nbtree will take advantage of this.In passing, remove and rename certain _bt_preprocess_keys variables tomake the difference between our input scan key array and our output scankey array clearer.Author: Peter Geoghegan <pg@bowt.ie>Reviewed-By: Tomas Vondra <tomas@vondra.me>Discussion:https://postgr.es/m/CAH2-Wz=9A_UtM7HzUThSkQ+BcrQsQZuNhWOvQWK06PRkEp=SKQ@mail.gmail.com
1 parent54562c9 commitb524974

File tree

1 file changed

+100
-110
lines changed

1 file changed

+100
-110
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp