Re: How to upgrade the pgsql archiver? - Mailing list pgsql-admin

From Tom Lane
Subject Re: How to upgrade the pgsql archiver?
Date
Msg-id 9948.1026487204@sss.pgh.pa.us
Whole thread Raw
In response to How to upgrade the pgsql archiver?  ("Xueying (Libby) SHEN" <xshen@cs.umass.edu>)
List pgsql-admin
"Xueying (Libby) SHEN" <xshen@cs.umass.edu> writes:
> Hi, I installed PostgreSQL 7.2.1 on my Linux machine and I am exploring
> the features. When I use pg_dump to backup my database, I get
> the error message below:
> =======================================================================
> Database version: PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC
> 2.96
> Archiver(db) version: 7.1.3
> Aborting because of version mismatch.
> Use --ignore-version if you think it's safe to proceed anyway.
> ========================================================================

> This is my first time to install the system and I don't have any 7.1.3
> on my system.

Yes you do: clearly you are invoking the pg_dump from it.

Most likely the Linux installation included a set of 7.1.3 PG executables,
and that set is in your search path ahead of whereever you put 7.2.
Check your PATH.

            regards, tom lane

pgsql-admin by date:

Previous
From: John Moore
Date:
Subject: Controlling performance impact of multiple users
Next
From: admin@chouab.com
Date:
Subject: Du nouveau sur la toile