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.
regards, tom lane