Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEDGm-0006jw-Gt for pgsql-general@arkaria.postgresql.org; Mon, 22 Feb 2021 15:37:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lEDGl-00059K-8u for pgsql-general@arkaria.postgresql.org; Mon, 22 Feb 2021 15:37:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEDGl-00056D-1N for pgsql-general@lists.postgresql.org; Mon, 22 Feb 2021 15:37:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEDGd-00030L-UW for pgsql-general@lists.postgresql.org; Mon, 22 Feb 2021 15:37:06 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 11MFauxk3583407; Mon, 22 Feb 2021 10:36:56 -0500 From: Tom Lane To: Ganesh Korde cc: Atul Kumar , pgsql-general Subject: Re: Streaming replication between different OS In-reply-to: References: Comments: In-reply-to Ganesh Korde message dated "Mon, 22 Feb 2021 14:22:21 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3583405.1614008216.1@sss.pgh.pa.us> Date: Mon, 22 Feb 2021 10:36:56 -0500 Message-ID: <3583406.1614008216@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Ganesh Korde writes: > On Mon, 22 Feb 2021, 11:48 am Atul Kumar, 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