From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Create stub functions to support pg_upgrade of old contrib/tsear
Date: Wed, 02 Mar 2016 22:38:03 +0000
Message-ID: <E1abFP9-0002EP-B5@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Create stub functions to support pg_upgrade of old contrib/tsearch2.
Commits 9ff60273e35cad6e and dbe2328959e12701 adjusted the declarations
of some core functions referenced by contrib/tsearch2's install script,
forgetting that in a pg_upgrade situation, we'll be trying to restore
operator class definitions that reference the old signatures. We've
hit this problem before; solve it in the same way as before, namely by
installing stub functions that have the expected signature and just
invoke the correct function. Per report from Jeff Janes.
(Someday we ought to stop supporting contrib/tsearch2, but I'm not
sure today is that day.)
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/eb43e851d6b3fa0c4516efcfdf29a183f7717a43
Modified Files
--------------
src/backend/utils/adt/tsginidx.c | 20 ++++++++++++++++++++
src/backend/utils/adt/tsgistidx.c | 13 +++++++++++++
src/backend/utils/adt/tsquery_gist.c | 13 +++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 9 +++++++++
src/include/tsearch/ts_utils.h | 4 ++++
6 files changed, 60 insertions(+), 1 deletion(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Create stub functions to support pg_upgrade of old contrib/tsear
In-Reply-To: <E1abFP9-0002EP-B5@gemulon.postgresql.org>
References: <E1abFP9-0002EP-B5@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