1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Fix nbtree "deduce NOT NULL" scan key comment.

Oversight in commit c9c0589fda.
This commit is contained in:
Peter Geoghegan
2024-04-16 12:04:20 -04:00
parent 984c0eccd0
commit c62d2ebd9e

View File

@@ -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 |