From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: pg_upgrade 9.6 to 12 without 9.6 binaries
Date: Fri, 13 Mar 2020 08:09:31 -0700
Message-ID: <ba6bc784-c425-9747-9fb8-b2f408a254d7@aklaver.com> (raw)
In-Reply-To: <6146ebd5ca12450abe0e1efe57bab8c2@zuerich.ch>
References: <6146ebd5ca12450abe0e1efe57bab8c2@zuerich.ch>
On 3/13/20 6:47 AM, Zwettler Markus (OIZ) wrote:
> We are running Postgres 9.6 on server A.
>
> We want to upgrade it to Postgres 12 on server B.
>
> pg_upgrade requires the old (-b) and new (-B) binary set on the same server.
>
> We don't want to install both binary sets on the same server as we had
> some library conflicts in the past.
>
> Is there still a way to use pg_upgrade without the old (-b) binary set
> (I am aware of pg_dump/pg_restore)?
No. As I understand it pg_upgrade needs to see the state of old instance
to recreate that state on the new instance.
>
> Markus
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, Markus.Zwettler@zuerich.ch
Subject: Re: pg_upgrade 9.6 to 12 without 9.6 binaries
In-Reply-To: <ba6bc784-c425-9747-9fb8-b2f408a254d7@aklaver.com>
References: <6146ebd5ca12450abe0e1efe57bab8c2@zuerich.ch> <ba6bc784-c425-9747-9fb8-b2f408a254d7@aklaver.com>
* 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