Re: Pg_dump version mismatch - Mailing list pgsql-general

From Tom Lane
Subject Re: Pg_dump version mismatch
Date
Msg-id 4392.1210983549@sss.pgh.pa.us
Whole thread Raw
In response to Pg_dump version mismatch  (Toni Tortosa <ttortosa@obertic.com>)
List pgsql-general
Toni Tortosa <ttortosa@obertic.com> writes:
> I'm working with a Debian 4.0 linux server, and I've installed
> postgresql 8.2.6. I didn't update to 8.2.7

> When I try to do a pg_dump to backup my databases, It shows this error:

> pg_dump: server version: 8.2.7; pg_dump version: 8.2.6
> pg_dump: aborting because of version mismatch  (Use the -i option to proceed anyway.)

> Once for each table in the database. Is it possible to modify server
> version or pg_dump version. Would work fine if I use -i parameter to
> ignore versions?

This particular combination is safe enough, so if you really can't be
bothered to update your pg_dump to 8.2.7 you could use -i.  The -i
switch is pretty dangerous to use in production scripts, though, since
sooner or later it will probably mask a more serious problem.

            regards, tom lane

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: writing a function without installing a language
Next
From: Tom Lane
Date:
Subject: Re: PostgreSQL executing my function too many times during query