Remove obsolete nbtree deduplication comments.

Follow up to commit 2903f140.
This commit is contained in:
Peter Geoghegan 2021-10-15 15:25:20 -07:00
parent 15124d0e22
commit b76c1d6e84
1 changed files with 1 additions and 5 deletions

View File

@ -2693,7 +2693,7 @@ _bt_allequalimage(Relation rel, bool debugmessage)
{
bool allequalimage = true;
/* INCLUDE indexes don't support deduplication */
/* INCLUDE indexes can never support deduplication */
if (IndexRelationGetNumberOfAttributes(rel) !=
IndexRelationGetNumberOfKeyAttributes(rel))
return false;
@ -2721,10 +2721,6 @@ _bt_allequalimage(Relation rel, bool debugmessage)
}
}
/*
* Don't elog() until here to avoid reporting on a system relation index
* or an INCLUDE index
*/
if (debugmessage)
{
if (allequalimage)