pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_upgrade 9.6 to 12 without 9.6 binaries
3+ messages / 3 participants
[nested] [flat]

* pg_upgrade 9.6 to 12 without 9.6 binaries
@ 2020-03-13 13:47  Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
  0 siblings, 1 reply; 3+ messages in thread

From: Zwettler Markus (OIZ) @ 2020-03-13 13:47 UTC (permalink / raw)
  To: pgsql-general

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)?

Markus

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

* Re: pg_upgrade 9.6 to 12 without 9.6 binaries
@ 2020-03-13 15:09  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
  0 siblings, 1 reply; 3+ messages in thread

From: Adrian Klaver @ 2020-03-13 15:09 UTC (permalink / raw)
  To: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>; pgsql-general

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





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

* Re: pg_upgrade 9.6 to 12 without 9.6 binaries
@ 2020-03-13 16:25  Jerry Sievers <gsievers19@comcast.net>
  parent: Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Jerry Sievers @ 2020-03-13 16:25 UTC (permalink / raw)
  To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: Zwettler Markus \(OIZ\) <Markus.Zwettler@zuerich.ch>; pgsql-general

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





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


end of thread, other threads:[~2020-03-13 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13 13:47 pg_upgrade 9.6 to 12 without 9.6 binaries Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
2020-03-13 15:09 ` Adrian Klaver <adrian.klaver@aklaver.com>
2020-03-13 16:25   ` Jerry Sievers <gsievers19@comcast.net>

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