pgsql: Enable deduplication in system catalog indexes.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Enable deduplication in system catalog indexes.
Date: 2021-10-03 00:14:37
Message-ID: E1mWp9J-0008VY-Bu@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Enable deduplication in system catalog indexes.

The "equality implies image equality" opclass infrastructure disallowed
deduplication in system catalog indexes and TOAST indexes before now.
That seemed like the right approach back when the infrastructure was
added by commit 612a1ab7, since ALTER INDEX cannot set deduplicate_items
to 'off' (due to an old implementation restriction). But that decision
now seems arbitrary at best. Remove special case handling implementing
this policy.

No catversion bump, since existing catalog indexes will still work.

Author: Peter Geoghegan <pg(at)bowt(dot)ie>
Discussion: https://postgr.es/m/CAH2-Wz=rYQHFaJ3WYBdK=xgwxKzaiGMSSrh-ZCREa-pS-7Zjew@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2903f1404df37e11ecc303dbc164826c4717194b

Modified Files
--------------
src/backend/access/nbtree/nbtutils.c | 12 ------------
1 file changed, 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Dilip Kumar 2021-10-03 11:35:24 Re: pgsql: Document XLOG_INCLUDE_XID a little better
Previous Message Tom Lane 2021-10-02 20:08:19 pgsql: Re-alphabetize the win32_tzmap[] array.