pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix missing validation for the new GiST sortsupport functions.
Date: Fri, 30 Oct 2020 17:31:23 +0000
Message-ID: <E1kYYFH-000291-Ux@gemulon.postgresql.org> (raw)

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(+)



Message-ID: <E1kYYFH-000291-Ux@gemulon.postgresql.org>
Permalink:  ../E1kYYFH-000291-Ux@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kYYFH-000291-Ux@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: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Fix missing validation for the new GiST sortsupport functions.
  In-Reply-To: <E1kYYFH-000291-Ux@gemulon.postgresql.org>
  References: <E1kYYFH-000291-Ux@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