Re: pg_restore problem

From: "Roopali Sharma" <roopali(dot)sharma(at)waterford(dot)org>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_restore problem
Date: 2004-02-19 23:58:20
Message-ID: 661FA176BD6D144F91CE5DDCA6A9260234E0F9@postoffice.waterford.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks your feedback Tom.

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Thursday, February 19, 2004 3:42 PM
To: Roopali Sharma
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] pg_restore problem

"Roopali Sharma" <roopali(dot)sharma(at)waterford(dot)org> writes:
> 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.
> 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"

I see in the 7.3 dblink sources:

* Note: dblink_tok is DEPRECATED;
* it *will* be removed in favor of the new version on next release

and indeed it seems to be gone in 7.4. Better update your code.

regards, tom lane

*************************************
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.
*************************************

Browse pgsql-general by date

  From Date Subject
Next Message Scott Goodwin 2004-02-20 00:42:29 Inherited tables and column references
Previous Message Jim Crate 2004-02-19 23:06:42 Slow queries in PL/PGSQL function