pgsql: Remove unnecessary pg_amproc BRIN minmax entries

From: Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unnecessary pg_amproc BRIN minmax entries
Date: 2021-03-26 12:07:44
Message-ID: E1lPlFg-00073t-6w@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unnecessary pg_amproc BRIN minmax entries

The BRIN minmax opclasses included amproc entries with mismatching left
and right types, but those happen to be unnecessary. The opclasses only
need cross-type operators, not cross-type support procedures. Discovered
when trying to define equivalent BRIN operator families in an extension.

Catversion bump, because of pg_amproc changes.

Author: Tomas Vondra
Reviewed-by: Alvaro Herrera
Discussion: https://postgr.es/m/78c357ab-3395-8433-e7b3-b2cfcc9fdc23%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a68dfa27d42fb7b7611fd1206d2356fc124ed390

Modified Files
--------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_amproc.dat | 165 ++------------------------------------
2 files changed, 6 insertions(+), 161 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2021-03-26 12:19:10 pgsql: Support the old signature of BRIN consistent function
Previous Message tsunakawa.takay@fujitsu.com 2021-03-26 09:28:49 RE: pgsql: Add a new GUC and a reloption to enable inserts in parallel-mode