Chris Paul <chris(dot)paul(at)sentinare(dot)com> writes:
> I exported an 8.2.6 database and am trying to load it on 8.3.0. I get
> this error:
> [postgres(at)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