non consistent? mixed version setup of binaries - Mailing list pgsql-pkg-debian

From Wim Bertels
Subject non consistent? mixed version setup of binaries
Date
Msg-id 1381053296.4771.15.camel@zwerfkat
Whole thread Raw
Responses Re: non consistent? mixed version setup of binaries
List 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@server:/var/lib/postgresql# psql --version
psql (PostgreSQL) 9.3.0
ROOT@server:/var/lib/postgresql# pg_dump --version
pg_dump (PostgreSQL) 9.1.9
ROOT@server:/var/lib/postgresql# which pg_dump
/usr/bin/pg_dump
ROOT@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@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






pgsql-pkg-debian by date:

Previous
From: apt.postgresql.org repository
Date:
Subject: pgstatplans updated to version 1.1~4.git2f79792.pgdg+1
Next
From: Christoph Berg
Date:
Subject: Re: non consistent? mixed version setup of binaries