pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <cb@df7cb.de>
To: Joe Abbate <jma@freedomcircle.com>
Cc: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: Re: Debian/Ubuntu repository changes
Date: Sat, 23 Feb 2013 09:04:30 +0100
Message-ID: <20130223080430.GA6306@msgid.df7cb.de> (raw)
In-Reply-To: <5127C420.3020206@freedomcircle.com>
References: <20130222103245.GA29202@msgid.df7cb.de>
	<5127C420.3020206@freedomcircle.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Re: Joe Abbate 2013-02-22 <5127C420.3020206@freedomcircle.com>
> Sorry to bother you directly, but I decided to follow your
> recommendation to use the PGDG packages and now I see a difference in
> behavior.  Before I used to have PG 8.4, 9.0, 9.1 and 9.2 running in
> ports 5432 through 5435 respectively and when I typed 'psql somedb'
> I'd get the 8.4 version.  Now, I get the 9.2 version but connected to
> the 8.4 server and the customary warning.  Even if I use 'psql
> --cluster 8.4/main somedb' I still get the 9.2 front-end, and the same
> applies to 9.0 and 9.1.  How do I get my front-end to be in synch with
> my back-end, again?

Hi Joe,

this was a recent change in postgresql-common that was suggested by
the PostgreSQL people which will also be part of the next
Debian/Ubuntu releases. The reasoning is that you get a newer psql
binary with new features, but this is still compatible with the old
server. The warning there is a bit overzealous, it is aiming at
something like the following:

$ psql -p 5484
psql (9.2.3, server 8.4.15)
WARNING: psql version 9.2, server version 8.4.
         Some psql features might not work.
Type "help" for help.

postgres =# \ddp
The server (version 8.4) does not support altering default privileges.

... while "\ddp" is still listed in the "\?" help output.

In practice, you shouldn't see any real problem with the 9.2 psql.

The "matching" psql is still available at
/usr/lib/postgresql/8.4/bin/psql.

Does that meet your needs?

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 (7+ messages)  latest in thread

Message-ID: <20130223080430.GA6306@msgid.df7cb.de>
Permalink:  ../20130223080430.GA6306@msgid.df7cb.de/
Also on:    postgresql.org/message-id/20130223080430.GA6306@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, jma@freedomcircle.com
  Subject: Re: Debian/Ubuntu repository changes
  In-Reply-To: <20130223080430.GA6306@msgid.df7cb.de>
  References: <20130222103245.GA29202@msgid.df7cb.de> <5127C420.3020206@freedomcircle.com> <20130223080430.GA6306@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