Re: pg_restore problem

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

"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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jim Crate 2004-02-19 23:00:09 Slow queries in PL/PGSQL function
Previous Message Tom Lane 2004-02-19 22:26:22 Re: Inner join question