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 1sByEV-002Mfv-G9 for pgsql-admin@arkaria.postgresql.org; Tue, 28 May 2024 14:55:25 +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 1sByEV-009z88-I7 for pgsql-admin@arkaria.postgresql.org; Tue, 28 May 2024 14:55:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sByEV-009z80-4H for pgsql-admin@lists.postgresql.org; Tue, 28 May 2024 14:55:23 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sByES-001BnX-1r for pgsql-admin@postgresql.org; Tue, 28 May 2024 14:55:22 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 775F26F97D; Tue, 28 May 2024 14:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1716908118; bh=TblL9+CastRLrLaQDp9R2Z6PSsvu2iWwvNLm7J3P9q0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=x7tUBH0YC7EsVQbAzUitkU8VSjAlY6DpYjw+9xD0/mv505YoaIfSp1trmNfLsbyyY NR+QmvzhbJqpv/zswWJSpvJNdeDlFI9Fsql83XeDBNtxuK1o1XFAPnCSniklOUVz/c avAndBIJVFju+OJUF3jQn5vxP2Pj2M5NrMvJ1wqUFXUHIqcQRbh1XpoOWOEYgTIDCv VqWzI/CcooNyreJSQubZ+SgySLx02ouWUeYiuXb6hZDYqxKhFg2bTwOkNQvnn7vEqj fd3B758U91kKhRtxCy/bkYMFQvpcfR29GJOWkRWCB1p1wWs85Fyv8jdToBHjDhTPA9 jVqmnQ1/oSRpw== X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tlse_sjo1xis; Tue, 28 May 2024 14:55:18 +0000 (UTC) Received: from smtpclient.apple (unknown [165.140.184.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id CF21C6F927; Tue, 28 May 2024 14:55:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1716908117; bh=TblL9+CastRLrLaQDp9R2Z6PSsvu2iWwvNLm7J3P9q0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=Uth40Qs4YaDfRPya/dck2p8OCTX48/asVD9+MXb+re3vMsPtPyZfeiSwD8Jq7IZZ4 alkvqG2EXb+1CSFcO4uni6fKfwevs1AjS9Soxc1guTfnK45Y9cwTYQRc0CsRmiGuBl 8LAv7DTDmHaL1QWIp9DoMOsbv4DvYPBB6DZuy/MNwz++ik7BpHx794/v2zllwEi4mE SsmCU5G3gm4z8EBDhfGbjHhgw3/H5Xjmov9EVw9oKGc3DdO9nW5r/yLdP8boT44rsd GuX4navASgAM+pHVpHOYGyzQ48kTJWZ3SK78r6gLlG79zq74X0HOrtKC31NoXGYc6z O9CQLtRvT+SgA== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: Postgresql streaming replication From: Scott Ribe In-Reply-To: <06ab2de0-86d6-426e-4a18-17e0b25553ef@pangburngroup.com> Date: Tue, 28 May 2024 08:55:06 -0600 Cc: pgsql-admin@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <566DFBB0-A057-4069-A1F0-1AEFB38281F5@elevated-dev.com> References: <06ab2de0-86d6-426e-4a18-17e0b25553ef@pangburngroup.com> To: dbadmin@pangburngroup.com X-Mailer: Apple Mail (2.3774.500.171.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On May 28, 2024, at 8:50=E2=80=AFAM, Prasanth = wrote: >=20 > Hi, >=20 > We are running postgresql 16 on debian 12. I tried to create a hot = standby on a different server that is running alma linux 9. After doing = the backbackup and starting the server seems like the replication is = going fine. When I tried to login to the standby to run some queries got = the below message. Postgresql is installed using rpm. >=20 > DETAIL: The database was created using collation version 2.36, but = the operating system provides version 2.34. > HINT: Rebuild all objects in this database that use the default = collation and run ALTER DATABASE database_name REFRESH COLLATION = VERSION, or build PostgreSQL with the right library version. Yep. Different versions of Linux changed collation rules in the glibc = locale implementations. You will not be able to do streaming replication = between those two Linux versions with those two builds of PostgreSQL. = You will have to either: - get Linux versions with same (or close enough) glibc versions - figure out how to build PostgreSQL yourself with a compatible version