Re: elog undefined? - Mailing list pgsql-general

From Richard Huxton
Subject Re: elog undefined?
Date
Msg-id 200310141713.46532.dev@archonet.com
Whole thread Raw
In response to elog undefined?  (Robert Treat <xzilla@users.sourceforge.net>)
List pgsql-general
On Tuesday 14 October 2003 15:51, Robert Treat wrote:
> doing a restore, i get the following error...
>
> [rob@camel bin]$ ./pg_restore -p 5474 -d rms74 RMS74
> pg_restore: [archiver (db)] could not execute query: ERROR:  could not
> load library "/usr/lib/pgsql/pgcrypto.so": /usr/lib/pgsql/pgcrypto.so:
> undefined symbol: elog
>
> the dump was from 7.4 pg_dump against a 7.3 database. the thing thats
> bugging me is the undefined elog peice; i have a
> /usr/lib/pgsql/pgcrypto.so where specified; is it tossing that error
> since that pgcrypto.so was compiled against 7.3 or is this an issue
> somewhere in 7.4 pg_restore?

It'll be because of the error-reporting reworking done (by Tom?) - elog() was
the old error reporting fn, I think ereport() is the new one.

--
  Richard Huxton
  Archonet Ltd

pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Excute comnands OS from plpgsql
Next
From: "postgres"
Date:
Subject: Indexes, multicolumn or not?