pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: frankaen@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16973: Backward compatibility: pg_restore: [archiver] unsupported version (1.14) in file header
Date: Tue, 20 Apr 2021 14:48:12 -0400
Message-ID: <632958.1618944492@sss.pgh.pa.us> (raw)
In-Reply-To: <16973-399e0677315a26a6@postgresql.org>
References: <16973-399e0677315a26a6@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> Full dump created on April 12, 2021, default Ubuntu 18.04 LTS, cannot be
> restored on April 19, with the current output:

> psql --version
> psql (PostgreSQL) 10.16 (Ubuntu 10.16-1.pgdg20.04+1)

> pg_restore returns:
> pg_restore: [archiver] unsupported version (1.14) in file header

The most obvious explanation for this is that you made the dump
with a v12-or-later pg_dump, and are now trying to restore it
with a pre-v12 pg_restore.  If so, the failure is expected.

			regards, tom lane





view thread (3+ messages)  latest in thread

Message-ID: <632958.1618944492@sss.pgh.pa.us>
Permalink:  ../632958.1618944492@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/632958.1618944492@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, frankaen@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16973: Backward compatibility: pg_restore: [archiver] unsupported version (1.14) in file header
  In-Reply-To: <632958.1618944492@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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