mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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.
This commit is contained in:
@ -601,7 +601,6 @@ _bt_compare(Relation rel,
|
|||||||
|
|
||||||
datum = index_getattr(itup, scankey->sk_attno, itupdesc, &isNull);
|
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 (scankey->sk_flags & SK_ISNULL) /* key is NULL */
|
||||||
{
|
{
|
||||||
if (isNull)
|
if (isNull)
|
||||||
|
Reference in New Issue
Block a user