projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
984c0ec
)
Fix nbtree "deduce NOT NULL" scan key comment.
author
Peter Geoghegan
Tue, 16 Apr 2024 16:04:20 +0000
(12:04 -0400)
committer
Peter Geoghegan
Tue, 16 Apr 2024 16:04:20 +0000
(12:04 -0400)
Oversight in commit
c9c0589fda
.
src/backend/access/nbtree/nbtsearch.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/nbtree/nbtsearch.c
b/src/backend/access/nbtree/nbtsearch.c
index d241e8ea1dcce5b6c5ee1a5a932ebc4b19c6a68c..57bcfc7e4c6421cd7ccb1e310e1a2ae43c850e35 100644
(file)
--- 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[keys
Count
] */
+ /* Yes, so build the key in notnullkeys[keys
z
] */
chosen = ¬nullkeys[keysz];
ScanKeyEntryInitialize(chosen,
(SK_SEARCHNOTNULL | SK_ISNULL |