From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
---|---|
To: | Ian Barwick <barwick(at)gmail(dot)com> |
Cc: | cgg007(at)yahoo(dot)com, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Tsearch2 dump/reload problem |
Date: | 2004-07-29 04:27:47 |
Message-ID: | Pine.GSO.4.58.0407290826360.23652@ra.sai.msu.su |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)yahoo(dot)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(at)gmail(dot)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(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
From | Date | Subject | |
---|---|---|---|
Next Message | Pierre-Frédéric Caillaud | 2004-07-29 06:36:02 | Re: Trigger on Postgres for tables syncronization |
Previous Message | Kevin Bartz | 2004-07-29 01:25:07 | Re: Timestamp input + copy |