mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Remove obsolete nbtree deduplication comments.
Follow up to commit 2903f140
.
This commit is contained in:
parent
15124d0e22
commit
b76c1d6e84
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user