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 1u4Njf-001Lq2-Fd for pgsql-general@arkaria.postgresql.org; Mon, 14 Apr 2025 17:36:43 +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 1u4Njd-003uby-J6 for pgsql-general@arkaria.postgresql.org; Mon, 14 Apr 2025 17:36:42 +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 1u4Njd-003ubl-6t for pgsql-general@lists.postgresql.org; Mon, 14 Apr 2025 17:36:42 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u4Nja-0004IK-1i for pgsql-general@lists.postgresql.org; Mon, 14 Apr 2025 17:36:41 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-43d04dc73b7so47622245e9.3 for ; Mon, 14 Apr 2025 10:36:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1744652198; x=1745256998; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=sGLAXK/A4EsrXgQs6e/0eSey4zoYUG7ysk++RjS1GHU=; b=HerhepvhNYELLOChRuFUDbPbYNBn7KHmYcCfsFh66KHSMo7YLcEm9HZVZ7YTLmMnB7 fD1u9hIRe8LU8LfeIKYRNxcy+YkkPhpymxTSPIpD7iGYlJaSeWzy9kHXllFxZhCZDMKk /ftfRyqn3T/NJmP2UN9E/D8SxTi1wSXwWFAdLnUV/drwKNEgSRfd65jcCR+isES4tCAI YvPlCvstyhzRyJw8S7jxCIOjVsMFiTJFvXBzoFoOWGFY+ajzNDWN8pk6Q8yUMTqFx7QI aHjCpSqub7uctFuPaTd9sITpCoSR/JKYVapL46te2bRD3Naa480RaKAcmmzHdA5Ag09F 238w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744652198; x=1745256998; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=sGLAXK/A4EsrXgQs6e/0eSey4zoYUG7ysk++RjS1GHU=; b=VnYaJ+x8uMwXT9dsjbLSa8w3dX1pvLMCUjw5Qent6rajsTSEbtd7BS7q3F3zexTr+X mXPwPkF8akiLPik/k9WODJZbZ4rDjJq937ay7kQtU00vAgc8WTBmuIAxomCI2pAUsPSM 818rWwrw/5/5exxVfSHcXlihDaarSfNs3Kw5GCr4x6rsmGOv3DzrPGRM9bhkUQFu4pZD xbe4ZNBjMsGbbhZbB2GD/nr2+qBwF+17OIEezNwx2pJc0oFDa9S1BvcGUFndznSIWZgg 63s4jdqM88YW9mYhYtYcj3S7IlgZqNhJy2VHck0umqQ9Gm5PjsIV2jVyQsdFq1yzp5l3 bp0w== X-Forwarded-Encrypted: i=1; AJvYcCWbVjAld1PXQzpgZtCBg5E8++I5rqa6JCDhfBE63vs6YJPYd21IeAQzxpeWCF4u22qrKskBV9RoJCJM6gzV@lists.postgresql.org X-Gm-Message-State: AOJu0YxLB1o8Man+i+Ji9r4H9xTMLSGgKo0yZcUN1Y5v4NFiE0OTy/KZ xuIHQmd77JLfjBXhFhRy2PP3DGs6yigcnTvTWSf259Xijg+IA389Ya87bs5izIM= X-Gm-Gg: ASbGncvWXEup7UVTgkYWXqG2/r0qg3dT3zwJD6yXGO6GsAA+iQWeoXniZzP5uZ2Jd/M yShJjrRcbgzbt0UUkmz7cRUUzIo6sLrSDTB3sSOJsQi0pAZlcxfn/qi9SbvsmsgGifI4pEVGcJs K8aL7Zsrx7GPHStiNA26kiOtXTm77SFx5LHFzwfKAE1Aq2Owu8JRiKufAIYVBNN5EXhoqiqGonO nhqwkfEj0uEtlf+VcG7hBuK+oIN/zui00sk+R/sWjMiTCgZ3010C5eYhK/EVv3KfFT3kNWr5FT5 a7Pw/B7YfSk79pUu94lWb22yGjO1mkhNw/Ai7HONwUZh/aQOOhuhVEH9sLfTpqc/A4/Lc+pg X-Google-Smtp-Source: AGHT+IEQrK2kLpaM0yV38zmLygyqgCriJ8bCaIZS60V+aMIB7PfPtiBFiCphl/6nMvKHbNcENhN23Q== X-Received: by 2002:a05:600c:1382:b0:43c:fb95:c76f with SMTP id 5b1f17b1804b1-43f3a94c64amr128187075e9.9.1744652197696; Mon, 14 Apr 2025 10:36:37 -0700 (PDT) Received: from localhost.localdomain ([2001:871:260:9d66:7332:2f7d:59a0:59e8]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43f235a5e90sm182267265e9.38.2025.04.14.10.36.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Apr 2025 10:36:37 -0700 (PDT) Message-ID: Subject: Re: ICU Collations and Collation Updates From: Laurenz Albe To: Paul Foerster , Tom Lane Cc: Thomas Michael Engelke , pgsql-general@lists.postgresql.org Date: Mon, 14 Apr 2025 19:36:36 +0200 In-Reply-To: <23A7395F-6134-4D9E-8489-8F3BCE49E156@gmail.com> References: <8ed41c50ba6c5322296b869e497c1b5573853b54.camel@posteo.de> <1257278.1744641400@sss.pgh.pa.us> <23A7395F-6134-4D9E-8489-8F3BCE49E156@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.3 (3.54.3-1.fc41) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2025-04-14 at 19:24 +0200, Paul Foerster wrote: > Hi Tom, hi Laurenz > > On 14 Apr 2025, at 16:36, Tom Lane wrote: > >=20 > > Laurenz Albe writes: > > > You would have to build PostgreSQL yourself with a fixed version of I= CU > > > that you never upgrade if you want to avoid the problem. > [...] > > 2. It's at least *possible* to use your own fixed-version ICU > > library if you're desperate enough. I don't think that would work > > too well for libc; you're stuck with what the platform provides. >=20 > That topic is interesting because I have a huge problem finding a downtim= e > window for our applications to rebuild after the SLES upgrades. I am in t= he > process of slowly changing everything to ICU. But limiting downtime is > essential for me. >=20 > We always build the PostgreSQL software from source, so if there's a way > to bake the libicu directly into the software to never change it again > (beside from recompiling of course), even when building new PostgreSQL > versions, I'd very much appreciate if if you could let me know how I woul= d > do that. >=20 > The necessity for reindex is a huge problem for us. You cannot "bake in into" PostgreSQL, but you can grab the ICU source, install it in /usr/local or similar and build PostgreSQL against that. You will have to fiddle with CFLAGS and LDFLAGS so that the build process uses the C headers and libraries from your build of the ICU library. Yours, Laurenz Albe