public inbox for [email protected]
help / color / mirror / Atom feedFrom: Adrian Klaver <[email protected]>
To: Achilleas Mantzios <[email protected]>
To: [email protected] <[email protected]>
Subject: Re: pg_upgrade from 18beta1 -> 18beta3 - problem with btree_gist contrib module / extension
Date: Wed, 20 Aug 2025 07:39:06 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
On 8/20/25 05:50, Achilleas Mantzios wrote:
> pg_restore: from TOC entry 4295; 1255 596569951 FUNCTION
> gist_stratnum_btree(integer) postgres
> pg_restore: error: could not execute query: ERROR: could not find
> function "gist_stratnum_btree" in file "/usr/local/pgsql/lib/btree_gist.so"
> Command was: CREATE FUNCTION "public"."gist_stratnum_btree"(integer)
> RETURNS smallint
> LANGUAGE "c" IMMUTABLE STRICT PARALLEL SAFE
> AS '$libdir/btree_gist', 'gist_stratnum_btree';
I can not find gist_stratnum_btree in:
https://www.postgresql.org/docs/18/btree-gist.html
or in the source.
How did it end up in the database?
>
>
> The solution was to somehow restart 18beta1, drop btree_gist and all its
> dependent constraints / indexes / objects , pg_upgrade and finally re-
> create extension and dependent objects.
>
Something more then DROP EXTENSION/CREATE EXTENSION btree_gist?
--
Adrian Klaver
[email protected]
view thread (5+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: pg_upgrade from 18beta1 -> 18beta3 - problem with btree_gist contrib module / extension
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox