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 1mEYma-0001AK-ME for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Aug 2021 15:07:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mEYmZ-0002nq-CT for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Aug 2021 15:07:39 +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 1mEYmZ-0002nc-6C for pgsql-bugs@lists.postgresql.org; Fri, 13 Aug 2021 15:07:39 +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 1mEYmX-0000pn-5D for pgsql-bugs@lists.postgresql.org; Fri, 13 Aug 2021 15:07:38 +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 17DF7Jju070754; Fri, 13 Aug 2021 11:07:19 -0400 From: Tom Lane To: lcj122@163.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17143: when the CPU is different, the index on the primary is ok but the index on the standby is damaged In-reply-to: <17143-c8fc83cb45e831ab@postgresql.org> References: <17143-c8fc83cb45e831ab@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Fri, 13 Aug 2021 14:02:23 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <70752.1628867239.1@sss.pgh.pa.us> Date: Fri, 13 Aug 2021 11:07:19 -0400 Message-ID: <70753.1628867239@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > Hello, I have encountered a problem in building a primary and standby > cluster using physical streaming replication on different CPU machines. > We created the primary on the x86 machine, and created the standby on the > arm machine. You should not expect that to work. Physical replication requires identical hardware architectures, not to mention mostly-the-same operating system software. (The most usual gotcha for cross-system replication is different locale sort orders.) regards, tom lane