Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sXLpp-003T3B-Py for pgsql-admin@arkaria.postgresql.org; Fri, 26 Jul 2024 14:22:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sXLpo-00CXLR-5W for pgsql-admin@arkaria.postgresql.org; Fri, 26 Jul 2024 14:22:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sXLpn-00CXLJ-Pv for pgsql-admin@lists.postgresql.org; Fri, 26 Jul 2024 14:22:15 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sXLpl-001Z1n-3A for pgsql-admin@lists.postgresql.org; Fri, 26 Jul 2024 14:22:14 +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 46QEMBZ61674847; Fri, 26 Jul 2024 10:22:11 -0400 From: Tom Lane To: Wasim Devale cc: Pgsql-admin Subject: Re: Migration from CentOS7 to RHEL red hat Linux In-reply-to: References: Comments: In-reply-to Wasim Devale message dated "Fri, 26 Jul 2024 11:50:29 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1674845.1722003731.1@sss.pgh.pa.us> Date: Fri, 26 Jul 2024 10:22:11 -0400 Message-ID: <1674846.1722003731@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Wasim Devale writes: > I want primary and secondary running on CentOS7 in sync with primary and > secondary running on RHEL. Is it possible by any chance that postgresql > allows. If you mean you want to sync something on CentOS7 with something on RHEL8 or RHEL9, that's pretty dangerous because glibc's collations will not be the same [1]. You might get away with doing logical replication, but don't try physical replication. regards, tom lane [1] https://wiki.postgresql.org/wiki/Locale_data_changes