Re: Segmentation fault (core dumped) loading data on 8.3 upgrade: undefined symbol 'pg_valid_server_encoding_id',lazy binding failed! - Mailing list pgsql-general

From Tom Lane
Subject Re: Segmentation fault (core dumped) loading data on 8.3 upgrade: undefined symbol 'pg_valid_server_encoding_id',lazy binding failed!
Date
Msg-id 27389.1205435175@sss.pgh.pa.us
Whole thread Raw
In response to Segmentation fault (core dumped) loading data on 8.3 upgrade: undefined symbol 'pg_valid_server_encoding_id',lazy binding failed!  (Chris Paul <chris.paul@sentinare.com>)
Responses Re: Segmentation fault (core dumped) loading data on 8.3 upgrade: undefined symbol 'pg_valid_server_encoding_id',lazy binding failed!
List pgsql-general
Chris Paul <chris.paul@sentinare.com> writes:
> I exported an 8.2.6 database and am trying to load it on 8.3.0. I get
> this error:

> [postgres@prague:/var/postgres]$ ql -d postgres <
> bak/dump.bak                          <
> /usr/local/bin/psql:/usr/local/bin/psql: undefined symbol
> 'pg_valid_server_encoding_id'
> lazy binding failed!

pg_valid_server_encoding_id() is exported by 8.3's libpq, but it does
not exist in 8.2 and before.  What is evidently happening is that psql
is binding to an old copy of libpq.so.  Check your PG installation.

            regards, tom lane

pgsql-general by date:

Previous
From: Steve Crawford
Date:
Subject: Re: postgre vs MySQL
Next
From: Ivan Sergio Borgonovo
Date:
Subject: functions, replication and portability was: Functional Index Question