Skip to content

Commit b76c1d6

Browse files
Remove obsolete nbtree deduplication comments.
Follow up to commit 2903f14.
1 parent 15124d0 commit b76c1d6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/backend/access/nbtree/nbtutils.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2693,7 +2693,7 @@ _bt_allequalimage(Relation rel, bool debugmessage)
26932693
{
26942694
bool allequalimage = true;
26952695

2696-
/* INCLUDE indexes don't support deduplication */
2696+
/* INCLUDE indexes can never support deduplication */
26972697
if (IndexRelationGetNumberOfAttributes(rel) !=
26982698
IndexRelationGetNumberOfKeyAttributes(rel))
26992699
return false;
@@ -2721,10 +2721,6 @@ _bt_allequalimage(Relation rel, bool debugmessage)
27212721
}
27222722
}
27232723

2724-
/*
2725-
* Don't elog() until here to avoid reporting on a system relation index
2726-
* or an INCLUDE index
2727-
*/
27282724
if (debugmessage)
27292725
{
27302726
if (allequalimage)

0 commit comments

Comments
 (0)