projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15124d0
)
Remove obsolete nbtree deduplication comments.
author
Peter Geoghegan
Fri, 15 Oct 2021 22:25:20 +0000
(15:25 -0700)
committer
Peter Geoghegan
Fri, 15 Oct 2021 22:25:20 +0000
(15:25 -0700)
Follow up to commit
2903f140
.
src/backend/access/nbtree/nbtutils.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/nbtree/nbtutils.c
b/src/backend/access/nbtree/nbtutils.c
index 39f2e7518649d000a40b3a89ebd06aba12f182db..c72b4566de67d85613986536593cf63b6bb7c012 100644
(file)
--- a/
src/backend/access/nbtree/nbtutils.c
+++ b/
src/backend/access/nbtree/nbtutils.c
@@
-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)