pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wim Bertels <wim.bertels@khleuven.be>
To: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: non consistent? mixed version setup of binaries
Date: Sun, 6 Oct 2013 11:54:56 +0200
Message-ID: <1381053296.4771.15.camel@zwerfkat> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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






-- 
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian



view thread (5+ messages)  latest in thread

Message-ID: <1381053296.4771.15.camel@zwerfkat>
Permalink:  ../1381053296.4771.15.camel@zwerfkat/
Also on:    postgresql.org/message-id/1381053296.4771.15.camel@zwerfkat

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-debian@postgresql.org
  Cc: wim.bertels@khleuven.be
  Subject: Re: non consistent? mixed version setup of binaries
  In-Reply-To: <1381053296.4771.15.camel@zwerfkat>
  References: <1381053296.4771.15.camel@zwerfkat>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox