Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id A10D8475AED for ; Fri, 12 Jul 2002 11:20:16 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g6CFK4Al009949; Fri, 12 Jul 2002 11:20:04 -0400 (EDT) To: "Xueying (Libby) SHEN" Cc: pgsql-admin@postgresql.org Subject: Re: How to upgrade the pgsql archiver? In-reply-to: References: Comments: In-reply-to "Xueying (Libby) SHEN" message dated "Thu, 11 Jul 2002 15:37:24 -0400" Date: Fri, 12 Jul 2002 11:20:04 -0400 Message-ID: <9948.1026487204@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200207/191 X-Sequence-Number: 4877 "Xueying (Libby) SHEN" 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