Re: pg_dump / pg_restore version confusion - Mailing list pgsql-general

From Bruce Momjian
Subject Re: pg_dump / pg_restore version confusion
Date
Msg-id 20200729125432.GB12059@momjian.us
Whole thread Raw
In response to AW: pg_dump / pg_restore version confusion  ("Zwettler Markus (OIZ)" <Markus.Zwettler@zuerich.ch>)
Responses AW: pg_dump / pg_restore version confusion
List pgsql-general
On Wed, Jul 29, 2020 at 12:33:56PM +0000, Zwettler Markus (OIZ) wrote:
> And I can also do this restore:
> 
> <quote>
> Would a pg_restore with a v12 client into a postgres v9.6 database work and be officially supported?
> </quote>

Uh, good question.  You should still use the version of pg_restore that
you are loading _into_, not what you dumped from.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee




pgsql-general by date:

Previous
From: "Zwettler Markus (OIZ)"
Date:
Subject: AW: pg_dump / pg_restore version confusion
Next
From: "Zwettler Markus (OIZ)"
Date:
Subject: AW: pg_dump / pg_restore version confusion