Transfer 8.3 to 8.4 - FUNCTION gtsq_in(cstring) does not exist

From: Rebecca Clarke <rebecca(at)clarke(dot)net(dot)nz>
To: pgsql-general(at)postgresql(dot)org
Subject: Transfer 8.3 to 8.4 - FUNCTION gtsq_in(cstring) does not exist
Date: 2011-10-13 10:42:05
Message-ID: CANY3h+Ta_Ny2G1KZ8PQuzzYZLjYL2aicfg1P3trWtt5-LkPYJw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi
I'm transferring a database from 8.3 to 8.4 and I've done a pg_dump of the
db schema on 8.3. When I pg_restore it to 8.4 I get the following:

pg_restore: creating FUNCTION gtsq_in(cstring)
pg_restore: [archiver (db)] Error from TOC entry 550; 1255 4231868780
FUNCTION gtsq_in(cstring) postgres
pg_restore: [archiver (db)] could not execute query: ERROR: could not find
function "gtsq_in" in file "/usr/lib/postgresql/8.4/lib/tsearch2.so"
Command was: CREATE FUNCTION gtsq_in(cstring) RETURNS gtsq
AS '$libdir/tsearch2', 'gtsq_in'
LANGUAGE c STRICT;

I'm getting the same error when it tries to create function
gtsq_out(cstring), gtsvector_out(cstring) and gtsvector_in(cstring) as well

I've run the tsearch2.sql in /usr/share/postgresql/8.4/contrib but still no
go. I can't seem to find any info on web either.

Rebecca

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Clark 2011-10-13 11:17:19 Ideas for query
Previous Message Rebecca Clarke 2011-10-13 10:20:06 Transfer 8.3 to 8.4 - FUNCTION gtsq_in(cstring) does not exist