From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ganesh Korde <ganeshakorde@gmail.com>
Cc: Atul Kumar <akumar14871@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Streaming replication between different OS
Date: Mon, 22 Feb 2021 10:36:56 -0500
Message-ID: <3583406.1614008216@sss.pgh.pa.us> (raw)
In-Reply-To: <CAPNyb0W6G0q3aSREVLZHjP=Z8vV9JDTU8qvF2Ps_zWGPCvn+Hg@mail.gmail.com>
References: <CA+ONtZ77E9E3Em271xi9Kj+n1AGQR-+TOSMTgrEjR0vNb_pO9A@mail.gmail.com>
<CAPNyb0W6G0q3aSREVLZHjP=Z8vV9JDTU8qvF2Ps_zWGPCvn+Hg@mail.gmail.com>
Ganesh Korde <ganeshakorde@gmail.com> writes:
> On Mon, 22 Feb 2021, 11:48 am Atul Kumar, <akumar14871@gmail.com> wrote:
>> I have postgres 9.6 cluster running on Centos 6.8, so I just wanted to
>> know that can I configure streaming replication with same postgres version
>> i.e 9.6 running on centos 7.
> Should not be a problem if both OS archtecture (32 bit/ 64 bit) are same.
The other thing you have to worry about is whether the collations you
use sort the same on both systems ... if they don't, you'll have
effectively-corrupt indexes on text columns on the standby.
According to
https://wiki.postgresql.org/wiki/Locale_data_changes
you should be okay for rhel/centos 6 to 7 migration unless you
use de_DE locale. But I don't know how thorughly that's been
checked.
Using logical not physical replication might be safer.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, ganeshakorde@gmail.com, akumar14871@gmail.com
Subject: Re: Streaming replication between different OS
In-Reply-To: <3583406.1614008216@sss.pgh.pa.us>
References: <CA+ONtZ77E9E3Em271xi9Kj+n1AGQR-+TOSMTgrEjR0vNb_pO9A@mail.gmail.com> <CAPNyb0W6G0q3aSREVLZHjP=Z8vV9JDTU8qvF2Ps_zWGPCvn+Hg@mail.gmail.com> <3583406.1614008216@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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