Re: how to merge two postgresql server instances into one - Mailing list pgsql-general

From Adrian Klaver
Subject Re: how to merge two postgresql server instances into one
Date
Msg-id d6bbe307-4c6d-b53b-5b41-8a4e6d2d12cf@aklaver.com
Whole thread Raw
In response to how to merge two postgresql server instances into one  (Marco Lechner <mlechner@bfs.de>)
Responses AW: how to merge two postgresql server instances into one
List pgsql-general
On 10/6/21 2:58 AM, Marco Lechner wrote:
> Hi,
> 
> how to merge two postgresql server instances into one? I have a 
> postgresql-11 and -12 instance on my server and want to upgrade both 
> (pg_upgrade?) into one postgresql-14 instance.

The bigger issue will be the merge. Define what that means in this context?

> 
> The postgresql-14 instance does not exist yet (fresh install of 
> postgresql-14 server packages). Using pg_upgrade to upgrade the larger 
> one and pg_dumpall/pg_restore for the smaller one? Or are there any 
> other nice recommended workflows?
> 
> i.A. Dr. Marco Lechner
> 
> Leiter Fachgebiet RN 1 │ Head RN 1
> 
> --
> 
> Bundesamt für Strahlenschutz │ Federal Office for Radiation Protection
> 
> Koordination Notfallschutzsysteme │ Coordination Emergency Systems │ RN 1
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Allie Crawford
Date:
Subject: Re: [Ext:] Configuration of pgaudit settings in postgreSQL.conf causes postgreSQL to fail to start
Next
From: Marc Millas
Date:
Subject: Re: streaming replication different versions