non consistent? mixed version setup of binaries

From: Wim Bertels <wim(dot)bertels(at)khleuven(dot)be>
To: PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org>
Subject: non consistent? mixed version setup of binaries
Date: 2013-10-06 09:54:56
Message-ID: 1381053296.4771.15.camel@zwerfkat
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Hallo,

using the apt.postgresql.org repo on debian stable, with versions 8.4 to
9.3 installed,
my psql version reports as 9.3
while my pg_dump version reports as 9.1

eg:
ROOT(at)server:/var/lib/postgresql# psql --version
psql (PostgreSQL) 9.3.0
ROOT(at)server:/var/lib/postgresql# pg_dump --version
pg_dump (PostgreSQL) 9.1.9
ROOT(at)server:/var/lib/postgresql# which pg_dump
/usr/bin/pg_dump
ROOT(at)server:/var/lib/postgresql# ll /usr/bin/pg_dump
lrwxrwxrwx 1 root root 37 sep 9 14:34 /usr/bin/pg_dump
-> ../share/postgresql-common/pg_wrapper
ROOT(at)server:/var/lib/postgresql# ls /usr/lib/postgresql/9.1/bin/pg_dump
/usr/lib/postgresql/9.1/bin/pg_dump

so a standard pg_dump on a 9.3 database will fail,
while a standard psql command will succeed;
which seems inconsistent

(the workarounc solution is in the case to use the full path to call the
command)

mvg,
Wim

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Christoph Berg 2013-10-08 07:51:14 Re: non consistent? mixed version setup of binaries
Previous Message apt.postgresql.org repository 2013-10-04 09:40:10 pgstatplans updated to version 1.1~4.git2f79792.pgdg+1