Skip site navigation (1) Skip section navigation (2)

Re: unable to backup database -- psql not up to date

From: Valentin Bogdanov <valiouk(at)yahoo(dot)co(dot)uk>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: unable to backup database -- psql not up to date
Date: 2008-09-17 15:44:29
Message-ID: 850986.33638.qm@web25801.mail.ukl.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-admin


--- On Wed, 17/9/08, Jonathan Nalley <jnalley(at)jnalley(dot)com> wrote:

> From: Jonathan Nalley <jnalley(at)jnalley(dot)com>
> Subject: Re: [ADMIN] unable to backup database -- psql not up to date
> To: "dbchristopher" <dbchristopher(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
> Date: Wednesday, 17 September, 2008, 3:23 PM
> On Tue, Sep 16, 2008 at 5:53 PM, dbchristopher
> <dbchristopher(at)gmail(dot)com> wrote:
> >
> > I upgraded to postgresql 8.3.3 a few weeks ago, and it
> seems that while the
> > server was upgraded, but for some reason none of the
> accompanying software
> > was (pg_dump, psql, etc)
> >
> > I get this error when I try to back up the database:
> > pg_dump: server version: 8.3.3; pg_dump version: 8.2.6
> > pg_dump: aborting because of version mismatch (Use the
> -i option to proceed
> > anyway.)
> > pg_dump: *** aborted because of error
> >
> > and likewise when I log into the psql client:
> > WARNING: You are connected to a server with major
> version 8.3,
> > but your psql client is major version 8.2. Some
> backslash commands,
> > such as \d, might not work properly.
> >
> > How could this have happened? I really need to be able
> to back up my
> > information. I reinstalled the software and it
> didn't change anything. What
> > do I do to upgrade pg_dump to the newest version?
> 
> What OS are you running on?
> 
> How did you perform this upgrade?  In a packaged form like
> rpm?  or
> did you compile from source?

yup, the postgres clients are usually shipped in their own packages, separate from the server package. I do have to manually upgrade the client packages on a Debian system.




      

In response to

pgsql-admin by date

Next:From: M CDate: 2008-09-17 17:01:10
Subject: Recommended number of connections
Previous:From: Scott MarloweDate: 2008-09-17 14:43:26
Subject: Re: Heavy postgres process

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group