pg_restore problem - Mailing list pgsql-general

From Roopali Sharma
Subject pg_restore problem
Date
Msg-id 661FA176BD6D144F91CE5DDCA6A9260234E0F5@postoffice.waterford.org
Whole thread Raw
Responses Re: pg_restore problem
List pgsql-general
Hi,
 
I am trying to restore data from a production server (using Postgresql 7.3.x) to a test server using the latest release 7.4.1.
This is what I did:
1) dropdb -U postgres testdb
2) createdb -U postgres testdb
3) pg_restore -U postgres -O -d testdb data.tar
It throws this error:
pg_restore: [archiver (db)] could not execute query: ERROR:  could not find function "dblink_tok" in file "/usr/local/pgsql7.4.1/lib/dblink.so"
 
Any help would be appreciated.
 
thanks
Roopali
 
 
*************************************
This e-mail may contain privileged or confidential material intended for the named recipient only.
If you are not the named recipient, delete this message and all attachments.
Unauthorized reviewing, copying, printing, disclosing, or otherwise using information in this e-mail is prohibited.
We reserve the right to monitor e-mail sent through our network.
*************************************

pgsql-general by date:

Previous
From: Leif K-Brooks
Date:
Subject: Modular application needing additional columns?
Next
From: Tom Lane
Date:
Subject: Re: Inner join question