Remove obsolete _bt_compare() comment.
authorPeter Geoghegan <pg@bowt.ie>
Wed, 19 Feb 2020 00:07:16 +0000 (16:07 -0800)
committerPeter 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

index c573814f01ecee37c4a83f9e16192475cd5e3806..df065d72f84bb30d0ff71af729bece733bdc40e1 100644 (file)
@@ -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)