pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
how to merge two postgresql server instances into one
2+ messages / 2 participants
[nested] [flat]

* how to merge two postgresql server instances into one
@ 2021-10-06 09:58  Marco Lechner <mlechner@bfs.de>
  0 siblings, 1 reply; 2+ messages in thread

From: Marco Lechner @ 2021-10-06 09:58 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

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


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

* Re: how to merge two postgresql server instances into one
@ 2021-10-06 15:32  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Marco Lechner <mlechner@bfs.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Adrian Klaver @ 2021-10-06 15:32 UTC (permalink / raw)
  To: Marco Lechner <mlechner@bfs.de>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

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





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


end of thread, other threads:[~2021-10-06 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 09:58 how to merge two postgresql server instances into one Marco Lechner <mlechner@bfs.de>
2021-10-06 15:32 ` Adrian Klaver <adrian.klaver@aklaver.com>

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