Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: mark armon <1994hejian(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4
Date: 2020-11-28 16:17:55
Message-ID: 19abe150-d8fe-5ae7-9b93-d70dfc21dd1c@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/28/20 8:12 AM, mark armon wrote:
>
> OS: Windows
> issue:
> https://stackoverflow.com/questions/14168920/how-to-fix-pg-dump-version-mismatch-errors
> <https://stackoverflow.com/questions/14168920/how-to-fix-pg-dump-version-mismatch-errors>
>
> |pg_dump: error: server version: 13.0; pg_dump version: 12.4 pg_dump:
> error: aborting because of server version mismatch |
>

You are trying to dump a Postgres 13.0 version instance using the 12.4
version of pg_dump. That will not work as the error says. You need to
find and use the 13.0 version of pg_dump and use that. FYI, it will
work the other way e.g. a newer version of pg_dump can dump an older
version of Postgres.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-11-28 16:19:09 Re: How to debug authentication issues in Postgres
Previous Message mark armon 2020-11-28 16:12:30 pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4