From: Jerry Sievers <gsievers19@comcast.net>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Zwettler Markus \(OIZ\) <Markus.Zwettler@zuerich.ch>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: pg_upgrade 9.6 to 12 without 9.6 binaries
Date: Fri, 13 Mar 2020 11:25:50 -0500
Message-ID: <87zhck2pdd.fsf@jsievers.enova.com> (raw)
In-Reply-To: <ba6bc784-c425-9747-9fb8-b2f408a254d7@aklaver.com>
References: <6146ebd5ca12450abe0e1efe57bab8c2@zuerich.ch>
<ba6bc784-c425-9747-9fb8-b2f408a254d7@aklaver.com>
Adrian Klaver <adrian.klaver@aklaver.com> writes:
> 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.
True.
PgUpgrade will start/stop both versions separately perhaps a couple of
times as part of the workflow.
>
>>
>> Markus
>>
--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
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: gsievers19@comcast.net, adrian.klaver@aklaver.com, Markus.Zwettler@zuerich.ch
Subject: Re: pg_upgrade 9.6 to 12 without 9.6 binaries
In-Reply-To: <87zhck2pdd.fsf@jsievers.enova.com>
References: <6146ebd5ca12450abe0e1efe57bab8c2@zuerich.ch> <ba6bc784-c425-9747-9fb8-b2f408a254d7@aklaver.com> <87zhck2pdd.fsf@jsievers.enova.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