Re: Pb migrating database from Postgres 8.1 to 8.4

From: Robert Treat <rob(at)xzilla(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: chanh(dot)tran(at)free(dot)fr, pgsql-admin(at)postgresql(dot)org
Subject: Re: Pb migrating database from Postgres 8.1 to 8.4
Date: 2013-04-19 15:34:10
Message-ID: CABV9wwO_3cnoUS1AXdJq_yAaaCGJOay_HPwOy==W-REHx2qBUQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Apr 19, 2013 at 10:19 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> chanh(dot)tran(at)free(dot)fr writes:
>> I'm facing pbs trying to migrate my current database from Postgres 8.1 to 8.4.
>
>> pg_restore: [archiver (db)] could not execute query: ERROR: could not find function "gtsvector_in" in file "/usr/lib64/pgsql/tsearch2.so"
>
> Looks like you're missing the shared library that underlies tsearch2.
> The other errors seem to be consequences of this one.
>

It might be cleaner to try and remove the tsearch bits from your
schema dump and get a fresh install of tsearch by itself before
loading in your own schema. Also, given you're making this leap, I'd
strongly encourage you to try and migrate to Postgres 9.2 instead of
8.4, which is the next version to be EOL'd. It's unlikely the pain
will be significantly worse than what you are going through now.

Robert Treat
conjecture: xzilla.net
consulting: omniti.com

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2013-04-19 16:09:40 Re: Pb migrating database from Postgres 8.1 to 8.4
Previous Message Tom Lane 2013-04-19 14:19:21 Re: Pb migrating database from Postgres 8.1 to 8.4