pgsql: Fix missing validation for the new GiST sortsupport functions.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix missing validation for the new GiST sortsupport functions.
Date: 2020-10-30 17:31:23
Message-ID: E1kYYFH-000291-Ux@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix missing validation for the new GiST sortsupport functions.

Because of this, if you tried to create an operator family with the new
sortsupport function, you got an error:

ERROR: support function number 11 is invalid for access method gist

We missed this in commit 16fa9b2b30 that added the sortsupport function,
because it only added sortsupport to a built-in operator family.

Author: Andrey Borodin
Discussion: https://www.postgresql.org/message-id/3520A18A-5C38-4697-A2E3-F3BDE3496CD5%40yandex-team.ru

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6f0bc5e1daf09686c526aa161da5336f7c94f4eb

Modified Files
--------------
src/backend/access/gist/gistvalidate.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-10-30 21:01:06 pgsql: Fix assertion failure in check_new_partition_bound().
Previous Message Tom Lane 2020-10-30 14:39:05 pgsql: Doc: clarify description for pg_constraint.convalidated.