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 1srLyZ-000osQ-Hy for pgsql-general@arkaria.postgresql.org; Thu, 19 Sep 2024 18:34:00 +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 1srLxZ-005vlh-1F for pgsql-general@arkaria.postgresql.org; Thu, 19 Sep 2024 18:32:58 +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 1srLxY-005vlR-Mr for pgsql-general@lists.postgresql.org; Thu, 19 Sep 2024 18:32:58 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1srLxT-0003AB-D6 for pgsql-general@lists.postgresql.org; Thu, 19 Sep 2024 18:32:56 +0000 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-378f600e090so745683f8f.3 for ; Thu, 19 Sep 2024 11:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726770769; x=1727375569; darn=lists.postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4Rp3X2EONyQRYKpPiNXLQEMv11WJH2CmTlut18TumjI=; b=HgHuTsIlZY5gSgrsy1DsDrr4zQDR4UOcProTSajo5TPGhr34TIIn3jCOvto35Vo7JD EQJm2KxT6sl1zhUj69cSGzXhzxqG4pbDUTaaHIJGug000uVUX3ekrD5KAfopfRj+LFgB yO2S8AHBbK9Zgj1amalw52W8idTJBn6eLddggaLm3ZDiR8/PVpm/AKCjdn0ghRfyGmIw tZta9NXJzlOFo6t1/jwbw35lgJtb4cJ99d+BrohobZI8jn42wzk/4PGGY4/MMn6Vtp0l VTJaSQro2iLEt+fdPCUbR69rL2ZKXs2aLcczhQqXmAVePOTUI4oUnPN4oxPbADZN/kaD FdWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726770769; x=1727375569; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4Rp3X2EONyQRYKpPiNXLQEMv11WJH2CmTlut18TumjI=; b=wr3sKEJrxv6tcAtO1B5IzxdhnRcr6PSV+mGkNW2yQH/qh28Sf/z0EL8IbFBKkghRF2 V1fAfNGRBM8trrrKUViSrTgKd6UQIdj+QzlZc4kAWaDG6LA+ZzFi4txQFvwpcguxwkY2 RcfGgIlPr1Htxz/xahT59o2oF4BKafUmr+RGOew9w3MdYLVk7+uHdt5TevKCBj+Gxyzq W3YIJq17OdByURst0MttLo+MrHPk3cIXfAnFcByVfotiSZ8ikrFnGoQt4jHmAyeoM1yC h5Yn+W9Vkj9ahDUeqsFQI0s/I76U2Pfjmn8X/+JCoObP2bEJZnmDFwE2Rry/FpkRGHDy yBMA== X-Forwarded-Encrypted: i=1; AJvYcCUYnzyvmfu8qGKuI/qL2WBEZ5yAMHbTSxsdqM5smBVdRXn2vKJ02tKiKrViKalANAyr6Kd3kaKyq70VdCaC@lists.postgresql.org X-Gm-Message-State: AOJu0Yyi2fabpHZqyeaVswqqEN2WT3ky+fptC8YkPxbQOWkGlPXmjn/Q ElZbQUDEH0V4sIdtIQ7sLJ462oJtvtLjO201VxWTPloddWh/Fdx1 X-Google-Smtp-Source: AGHT+IHfBUgbIYJosMrqoqv6thkt+heN82EEbAaOHddfBV5czjcM1uKucHjoIHYbr7j3n64vAGtGHQ== X-Received: by 2002:a5d:5f86:0:b0:374:c287:2afe with SMTP id ffacd0b85a97d-37a4238cd2bmr161612f8f.56.1726770769465; Thu, 19 Sep 2024 11:32:49 -0700 (PDT) Received: from smtpclient.apple (26-36-239-77.dyn.cable.qlnet.ch. [77.239.36.26]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378e780551esm16031154f8f.101.2024.09.19.11.32.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Sep 2024 11:32:49 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3818.100.11.1.3\)) Subject: Re: glibc updarte 2.31 to 2.38 From: Paul Foerster In-Reply-To: <2bd05256-f031-41bf-9954-9ffaa6b19fc0@joeconway.com> Date: Thu, 19 Sep 2024 20:32:18 +0200 Cc: Tom Lane , pgsql-general list Content-Transfer-Encoding: quoted-printable Message-Id: <088E63DD-51AA-4720-AE38-E12A3C34ED9B@gmail.com> References: <1991352.1726758874@sss.pgh.pa.us> <2bd05256-f031-41bf-9954-9ffaa6b19fc0@joeconway.com> To: Joe Conway X-Mailer: Apple Mail (2.3818.100.11.1.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Joe, > On 19 Sep 2024, at 20:09, Joe Conway wrote: >=20 > See my thread-adjacent email, but suffice to say that if there are = collation differences that do affect your tables/data, and you allow any = inserts or updates, you may wind up with corrupted data (e.g. duplicate = data in your otherwise unique indexes/primary keys). Yes, I know that. > For more examples about that see = https://joeconway.com/presentations/glibc-SCaLE21x-2024.pdf A very interesting PDF. Thanks very much. > An potential alternative for you (discussed at the end of that = presentation) would be to create a new branch based on your original = SLES 15.5 glibc RPM equivalent to this: >=20 > = https://github.com/awslabs/compat-collation-for-glibc/tree/2.17-326.el7 >=20 > The is likely a non trivial amount of work involved (the port from the = AL2 rpm to the RHEL7 rpm took me the better part of a couple of days), = but once done your collation is frozen to the specific version you had = on 15.5. I'm not a developer. I have one machine which is equivalent to all other = servers except that it has gcc, make and some other things for me to = build PostgreSQL. I can't make the admins run a rpm on all servers. I = can obviously put a library into the /path/2/postgres/software/lib64 = directory but not into the system. Also, my build server does not have internet access. So things like git = clone would be an additional show stopper. Unfortunately, I'm pretty = limited. Cheers, Paul