postgres.git / summary / log / commit / refs
commit fe9b92854e7d5f66d3abb565c5b60a879b6c9442
Author: Peter Geoghegan <pg@bowt.ie>
Date: Wed Feb 19 00:07:16 2020 +0000
First released in: 13.0
Remove obsolete _bt_compare() comment.
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 | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/backend/access/nbtree/nbtsearch.c b/src/backend/access/nbtree/nbtsearch.c
index c573814f01e..df065d72f84 100644
--- 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)
[parent: b7e51b350c4e]