I'm running PostgreSQL on Debian Unstable/Sid. I've got the current versions (9.1) of postgresql
, postgresql-client
, postgresql-client-common
(143) installed.
The problem I'm having is trying to run pg_dump
. I'm getting this error:
pg_dump: server version: 9.1.9; pg_dump version: 9.0.6
pg_dump: aborting because of server version mismatch
I can't seem to figure out how to get a newer version of pg_dump
. It seems to be coming from the postgresql-client-common
package, and I've trying running apt-get --reinstall
on it, but that didn't get me a newer version of pg_dump.
How do I work around this? Or where can I find a package with a newer version of pg_dump
?
which pg_dump
show you? Just to confirm that it's in fact the packaged version and not some other one./usr/bin/pg_dump
, anddpkg -S /usr/bin/pg_dump
gives mepostgresql-client-common: /usr/bin/pg_dump
.