pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wells Oliver <wells.oliver@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: postgres 9.6.8 to 10 on Ubuntu 16.04.4 LTS --- tsearch2 unloadable...
Date: Wed, 28 Mar 2018 09:15:58 -0700
Message-ID: <CAOC+FBXSDTBMLPDfF8AdNpumT2hehdLMfuGVVSWabsoF1re33w@mail.gmail.com> (raw)
In-Reply-To: <27739.1522214819@sss.pgh.pa.us>
References: <CAOC+FBW50neMHjhcYymtyxDk_c-16MO-m8N_E0z4ZAJnqUzM6A@mail.gmail.com>
	<27739.1522214819@sss.pgh.pa.us>

Thanks. I ran: select * from pg_proc where probin like '%tsearch%';

This showed 38 functions. I believe I need to drop these, correct? However,
I am using to_tsvector() and to_tsquery(), but I believe these are now part
of the core postgres package, and I can safely drop these where probin
contains tsearch2. Am I correct, or do I need to rewrite things that use
to_tsvector()?

Thanks for any clarification.



On Tue, Mar 27, 2018 at 10:26 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Wells Oliver <wells.oliver@gmail.com> writes:
> > I get that this library is no longer need. It's blowing up my upgrade to
> > 10. Output:
> > could not load library "$libdir/tsearch2": ERROR:  could not access file
> > "$libdir/tsearch2": No such file or directory
>
> > But I can't see how or where this library is still installed. Running \dx
> > on my database:
>
> Did you check every database in the cluster?
>
> If you did, then maybe you have some "loose" (pre-extensions) tsearch2
> functions laying about somewhere.  Look through pg_proc for functions
> with probin = '$libdir/tsearch2'.  Again, check every DB.
>
>                         regards, tom lane
>



-- 
Wells Oliver
wells.oliver@gmail.com <wellsoliver@gmail.com>

view thread (4+ messages)  latest in thread

Message-ID: <CAOC+FBXSDTBMLPDfF8AdNpumT2hehdLMfuGVVSWabsoF1re33w@mail.gmail.com>
Permalink:  ../CAOC+FBXSDTBMLPDfF8AdNpumT2hehdLMfuGVVSWabsoF1re33w@mail.gmail.com/
Also on:    postgresql.org/message-id/CAOC+FBXSDTBMLPDfF8AdNpumT2hehdLMfuGVVSWabsoF1re33w@mail.gmail.com

 · 

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: pgsql-admin@postgresql.org
  Cc: wells.oliver@gmail.com, tgl@sss.pgh.pa.us, pgsql-admin@lists.postgresql.org
  Subject: Re: postgres 9.6.8 to 10 on Ubuntu 16.04.4 LTS --- tsearch2 unloadable...
  In-Reply-To: <CAOC+FBXSDTBMLPDfF8AdNpumT2hehdLMfuGVVSWabsoF1re33w@mail.gmail.com>

* 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