From: Peter Geoghegan Date: Wed, 19 Feb 2020 00:07:16 +0000 (-0800) Subject: Remove obsolete _bt_compare() comment. X-Git-Tag: REL_13_BETA1~707 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe9b92854e7d5f66d3abb565c5b60a879b6c9442;p=thirdparty%2Fpostgresql.git 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. --- 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)