pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Enable deduplication in system catalog indexes.
Date: Sun, 03 Oct 2021 00:14:37 +0000
Message-ID: <E1mWp9J-0008VY-Bu@gemulon.postgresql.org> (raw)

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@bowt.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(-)



Message-ID: <E1mWp9J-0008VY-Bu@gemulon.postgresql.org>
Permalink:  ../E1mWp9J-0008VY-Bu@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mWp9J-0008VY-Bu@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: pg@bowt.ie
  Subject: Re: pgsql: Enable deduplication in system catalog indexes.
  In-Reply-To: <E1mWp9J-0008VY-Bu@gemulon.postgresql.org>
  References: <E1mWp9J-0008VY-Bu@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox