Re: Moving from Linux to Linux?

Adrian Klaver <adrian.klaver@aklaver.com>

From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Paul Foerster <paul.foerster@gmail.com>, Pgsql-General List <pgsql-general@lists.postgresql.org>
Date: 2025-03-11T16:32:28Z
Lists: pgsql-general
On 3/11/25 09:22, Paul Foerster wrote:
> Hi,
> 
> we are considering changing the PostgreSQL platform from SUSE SLE to Red Hat. To keep service interruptions as short as possible, the idea is to set up a streaming replication from the SUSE server to be replaced to a temporary Red Hat server and then replace that SUSE server with the newly setup Red Hat server.

What versions of each?

> 
> My idea is to set up a streaming replication for this. But this of course only works if the data files would be binary compatible.

Unless you use logical replication.

> 
> So, I wonder, if this is possible. We have a lot of databases, some of them need to be highly available and some are large too.
> 
> Are there any obstacles that definitely make that a no-go? Do I risk corruption? It's both Linux, just a different distribution.
> 
> Cheers,
> Paul
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com