projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7e51b3
)
Remove obsolete _bt_compare() comment.
author
Peter Geoghegan
<pg@bowt.ie>
Wed, 19 Feb 2020 00:07:16 +0000
(16:07 -0800)
committer
Peter Geoghegan
<pg@bowt.ie>
Wed, 19 Feb 2020 00:07:16 +0000
(16:07 -0800)
btbuild() has nothing to say about how NULL values compare in nbtree.
Besides, there are _bt_compare() header comments that describe how NULL
values are handled.
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 c573814f01ecee37c4a83f9e16192475cd5e3806..df065d72f84bb30d0ff71af729bece733bdc40e1 100644
(file)
--- a/
src/backend/access/nbtree/nbtsearch.c
+++ b/
src/backend/access/nbtree/nbtsearch.c
@@
-601,7
+601,6
@@
_bt_compare(Relation rel,
datum = index_getattr(itup, scankey->sk_attno, itupdesc, &isNull);
- /* see comments about NULLs handling in btbuild */
if (scankey->sk_flags & SK_ISNULL) /* key is NULL */
{
if (isNull)