Re: Tsearch2 dump/reload problem - Mailing list pgsql-general

From Oleg Bartunov
Subject Re: Tsearch2 dump/reload problem
Date
Msg-id Pine.GSO.4.58.0407290826360.23652@ra.sai.msu.su
Whole thread Raw
In response to Re: Tsearch2 dump/reload problem  (Ian Barwick <barwick@gmail.com>)
List pgsql-general
Check regprocedure_7.4.patch.gz from http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2
It will helps future dump/reload

    Oleg
On Wed, 28 Jul 2004, Ian Barwick wrote:

> On Wed, 28 Jul 2004 09:42:38 -0700 (PDT), Chris Gamache
> <cgg007@yahoo.com> wrote:
> > PostgreSQL 7.4.2 -
> >
> > I'm having some serious problems dumping and reloading a database with utilizes
> > TSearch2.
> >
> > I've followed the directions to-the-letter for dumping and reloading a DB that
> > uses TSearch2 ... When I reload and attempt to access the database I find this
> > in the logs:
> >
> > ERROR:  cache lookup failed for function 75769893
>
> I _think_ the way round this is to drop all the tsearch2 objects - you
> should have an untsearch2.sql file in a contrib directory somewhere
> which contains the appropriate statements. This does of course cascade
> to tsvector columns, which you will have to recreate and repopulate.
>
> FWIW I put all tsearch-related objects into their own schema, and
> recreate this before restoring other data to a fresh database.
>
> HTH
>
> Ian Barwick
> barwick@gmail.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

    Regards,
        Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

pgsql-general by date:

Previous
From: "Kevin Bartz"
Date:
Subject: Re: Timestamp input + copy
Next
From: Pierre-Frédéric Caillaud
Date:
Subject: Re: Trigger on Postgres for tables syncronization