pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <cb@df7cb.de>
To: Wim Bertels <wim.bertels@khleuven.be>
Cc: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: Re: non consistent? mixed version setup of binaries
Date: Tue, 8 Oct 2013 09:51:14 +0200
Message-ID: <20131008075114.GA24083@msgid.df7cb.de> (raw)
In-Reply-To: <1381053296.4771.15.camel@zwerfkat>
References: <1381053296.4771.15.camel@zwerfkat>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Re: Wim Bertels 2013-10-06 <camel@zwerfkat/">1381053296.4771.15.camel@zwerfkat>
> 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

Hi Wim,

this is expected. pg_wrapper will always redirect psql to the latest
version installed because it's downwards compatible, while directing
all other wrapped commands to the cluster you have selected.

9.1 seems to be the one on port 5432, so that's your default.

> 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)

You should be using pg_dump --cluster 9.3/main .

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/


-- 
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: <20131008075114.GA24083@msgid.df7cb.de>
Permalink:  ../20131008075114.GA24083@msgid.df7cb.de/
Also on:    postgresql.org/message-id/20131008075114.GA24083@msgid.df7cb.de

 · 

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: cb@df7cb.de, wim.bertels@khleuven.be
  Subject: Re: non consistent? mixed version setup of binaries
  In-Reply-To: <20131008075114.GA24083@msgid.df7cb.de>
  References: <1381053296.4771.15.camel@zwerfkat> <20131008075114.GA24083@msgid.df7cb.de>

* 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