how to merge two postgresql server instances into one

From: Marco Lechner <mlechner(at)bfs(dot)de>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: how to merge two postgresql server instances into one
Date: 2021-10-06 09:58:18
Message-ID: 5c0755626e364831849d20919f394a3a@bfs.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Philippe Doussot 2021-10-06 10:01:26 idle_in_transaction_session_timeout
Previous Message Joao Miguel Ferreira 2021-10-06 09:44:43 Re: pg_dump save command in output