Content-Length: 261853 | pFad | http://github.com/postgrespro/postgres/commit/fc7ddededb9ee466d20581b966e01a3566b9559f

B8 Clarify nbtree array preprocessing comment. · postgrespro/postgres@fc7dded · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/fc7ddededb9ee466d20581b966e01a3566b9559f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy