mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Fix nbtree "deduce NOT NULL" scan key comment.
Oversight in commit c9c0589fda
.
This commit is contained in:
@@ -1051,7 +1051,7 @@ _bt_first(IndexScanDesc scan, ScanDirection dir)
|
|||||||
ScanDirectionIsForward(dir) :
|
ScanDirectionIsForward(dir) :
|
||||||
ScanDirectionIsBackward(dir)))
|
ScanDirectionIsBackward(dir)))
|
||||||
{
|
{
|
||||||
/* Yes, so build the key in notnullkeys[keysCount] */
|
/* Yes, so build the key in notnullkeys[keysz] */
|
||||||
chosen = ¬nullkeys[keysz];
|
chosen = ¬nullkeys[keysz];
|
||||||
ScanKeyEntryInitialize(chosen,
|
ScanKeyEntryInitialize(chosen,
|
||||||
(SK_SEARCHNOTNULL | SK_ISNULL |
|
(SK_SEARCHNOTNULL | SK_ISNULL |
|
||||||
|
Reference in New Issue
Block a user