pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4
5+ messages / 3 participants
[nested] [flat]

* pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4
@ 2020-11-28 16:12 mark armon <1994hejian@gmail.com>
  2020-11-28 16:17 ` Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 1 reply; 5+ messages in thread

From: mark armon @ 2020-11-28 16:12 UTC (permalink / raw)
  To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>

OS: Windows
issue:
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

-
-
-
-

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4
  2020-11-28 16:12 pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 mark armon <1994hejian@gmail.com>
@ 2020-11-28 16:17 ` Adrian Klaver <adrian.klaver@aklaver.com>
  2020-11-29 05:32   ` Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 mark armon <1994hejian@gmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Adrian Klaver @ 2020-11-28 16:17 UTC (permalink / raw)
  To: mark armon <1994hejian@gmail.com>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>

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.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4
  2020-11-28 16:12 pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 mark armon <1994hejian@gmail.com>
  2020-11-28 16:17 ` Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 Adrian Klaver <adrian.klaver@aklaver.com>
@ 2020-11-29 05:32   ` mark armon <1994hejian@gmail.com>
  2020-11-29 05:42     ` Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 Hemil Ruparel <hemilruparel2002@gmail.com>
  2020-11-29 16:22     ` Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 2 replies; 5+ messages in thread

From: mark armon @ 2020-11-29 05:32 UTC (permalink / raw)
  To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>

where to get pg_dump 13.0?

On Sat, Nov 28, 2020 at 9:47 PM Adrian Klaver <adrian.klaver@aklaver.com>
wrote:

> 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.klaver@aklaver.com
>

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4
  2020-11-28 16:12 pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 mark armon <1994hejian@gmail.com>
  2020-11-28 16:17 ` Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 Adrian Klaver <adrian.klaver@aklaver.com>
  2020-11-29 05:32   ` Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 mark armon <1994hejian@gmail.com>
@ 2020-11-29 05:42     ` Hemil Ruparel <hemilruparel2002@gmail.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Hemil Ruparel @ 2020-11-29 05:42 UTC (permalink / raw)
  To: mark armon <1994hejian@gmail.com>; +Cc: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>

Download postgres 13. pg dump 13 will be downloaded along with it

On Sun, Nov 29, 2020 at 11:02 AM mark armon <1994hejian@gmail.com> wrote:

>
> where to get pg_dump 13.0?
>
> On Sat, Nov 28, 2020 at 9:47 PM Adrian Klaver <adrian.klaver@aklaver.com>
> wrote:
>
>> 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.klaver@aklaver.com
>>
>

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4
  2020-11-28 16:12 pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 mark armon <1994hejian@gmail.com>
  2020-11-28 16:17 ` Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 Adrian Klaver <adrian.klaver@aklaver.com>
  2020-11-29 05:32   ` Re: pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 mark armon <1994hejian@gmail.com>
@ 2020-11-29 16:22     ` Adrian Klaver <adrian.klaver@aklaver.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Adrian Klaver @ 2020-11-29 16:22 UTC (permalink / raw)
  To: mark armon <1994hejian@gmail.com>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>

On 11/28/20 9:32 PM, mark armon wrote:
> 
> where to get pg_dump 13.0?

Are both Postgres instances(12.4 and 13.0) on the same machine?

If they are and you used the EDB installer the binaries(pg_dump for 
instance) will be under:

C:\Program File\PostgreSQL\<version_number>\bin

If they are not then you will either have to use the version 13 of 
pg_dump that is on the other machine or install version 13 of Postgres 
on your machine.

Also be aware that if you are trying to dump a version 13 instance and 
restore it to a version 12 instance of Postgres you will probably have 
issues beyond that of the pg_dump version. The dump/restore process is 
not designed to go backwards.

> 
> On Sat, Nov 28, 2020 at 9:47 PM Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>> wrote:
> 
>     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;
> 
>      >
>     <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.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2020-11-29 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-11-28 16:12 pgdump version mismatch error. server version: 13.0; pg_dump version: 12.4 mark armon <1994hejian@gmail.com>
2020-11-28 16:17 ` Adrian Klaver <adrian.klaver@aklaver.com>
2020-11-29 05:32   ` mark armon <1994hejian@gmail.com>
2020-11-29 05:42     ` Hemil Ruparel <hemilruparel2002@gmail.com>
2020-11-29 16:22     ` Adrian Klaver <adrian.klaver@aklaver.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox