Re: [PATCH] nbtree: Do not show debugmessage if deduplication is disabled

2020-12-17 Thread Peter Geoghegan
On Wed, Dec 16, 2020 at 5:28 PM Justin Pryzby wrote: > Even though the message literally says whether the index "can safely" or > "cannot" use deduplication, the function specifically avoids the debug message > for system columns, so I think it also makes sense to hide it when > deduplication is t

[PATCH] nbtree: Do not show debugmessage if deduplication is disabled

2020-12-16 Thread Justin Pryzby
Even though the message literally says whether the index "can safely" or "cannot" use deduplication, the function specifically avoids the debug message for system columns, so I think it also makes sense to hide it when deduplication is turned off. diff --git a/src/backend/access/nbtree/nbtutils.c