postgres.git / summary / log / commit / refs

commit    c62d2ebd9e6f94758f5ed3a28cf08861229ae421
Author:   Peter Geoghegan <pg@bowt.ie>
Date:     Tue Apr 16 16:04:20 2024 +0000
First released in: 17.0

    Fix nbtree "deduce NOT NULL" scan key comment.
    
    Oversight in commit c9c0589fda.


src/backend/access/nbtree/nbtsearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/access/nbtree/nbtsearch.c b/src/backend/access/nbtree/nbtsearch.c index d241e8ea1dc..57bcfc7e4c6 100644 --- a/src/backend/access/nbtree/nbtsearch.c +++ b/src/backend/access/nbtree/nbtsearch.c @@ -1051,7 +1051,7 @@ _bt_first(IndexScanDesc scan, ScanDirection dir) ScanDirectionIsForward(dir) : ScanDirectionIsBackward(dir))) { - /* Yes, so build the key in notnullkeys[keysCount] */ + /* Yes, so build the key in notnullkeys[keysz] */ chosen = &notnullkeys[keysz]; ScanKeyEntryInitialize(chosen, (SK_SEARCHNOTNULL | SK_ISNULL | [parent: 984c0eccd0cc]