8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15124d0 commit b76c1d6Copy full SHA for b76c1d6
src/backend/access/nbtree/nbtutils.c
@@ -2693,7 +2693,7 @@ _bt_allequalimage(Relation rel, bool debugmessage)
2693
{
2694
bool allequalimage = true;
2695
2696
- /* INCLUDE indexes don't support deduplication */
+ /* INCLUDE indexes can never support deduplication */
2697
if (IndexRelationGetNumberOfAttributes(rel) !=
2698
IndexRelationGetNumberOfKeyAttributes(rel))
2699
return false;
@@ -2721,10 +2721,6 @@ _bt_allequalimage(Relation rel, bool debugmessage)
2721
}
2722
2723
2724
- /*
2725
- * Don't elog() until here to avoid reporting on a system relation index
2726
- * or an INCLUDE index
2727
- */
2728
if (debugmessage)
2729
2730
if (allequalimage)
0 commit comments