pgsql: Allow non-btree unique indexes for matviews - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Allow non-btree unique indexes for matviews
Date
Msg-id E1tuUHb-0034vw-0r@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow non-btree unique indexes for matviews

We were rejecting non-btree indexes in some cases owing to the
inability to determine the equality operators for other index AMs;
that problem no longer exists, because we can look up the equality
operator using COMPARE_EQ.

Stop rejecting these indexes, but instead rely on all unique indexes
having equality operators.  Unique indexes must have equality
operators.

Author: Mark Dilger <mark.dilger@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9d6db8bec19413cd0167f1e59d1af005a997bd3e

Modified Files
--------------
src/backend/commands/matview.c | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Fix typo.
Next
From: Robert Haas
Date:
Subject: pgsql: Make it possible for loadable modules to add EXPLAIN options.