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.96) (envelope-from ) id 1vdrNc-005nh2-2r for pgsql-general@arkaria.postgresql.org; Thu, 08 Jan 2026 14:52:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vdrNb-002XlT-2s for pgsql-general@arkaria.postgresql.org; Thu, 08 Jan 2026 14:52:52 +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.96) (envelope-from ) id 1vdq2M-002AUy-2j for pgsql-general@lists.postgresql.org; Thu, 08 Jan 2026 13:26:51 +0000 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vdq2L-005HVk-1M for pgsql-general@postgresql.org; Thu, 08 Jan 2026 13:26:51 +0000 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-59b7be7496dso162132e87.0 for ; Thu, 08 Jan 2026 05:26:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767878809; x=1768483609; darn=postgresql.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fhXuLQRCKCR59/tQ5liGgiFYnZcEdrpoGi6RuUSeiu8=; b=IXmTOZqjzIucosSzRQ0XLDgrNnd4SqjOpiFdlV51UsZo5P5HbsxhgYh0s3feBLPeAs 72Y3gy4lKjuvievnL5MYxpkFFnEWrkghDASf5uXK1OpTLqDXE0gLSxQEXcOgpdCkXMX9 a2bZNsJoNqiNTztbiJG+dSvBH6JsFdYpBPLtEewvaeLCK4VyIvdmQHi6MDrdlEqOZdbf YlO7AuubpTyI0Cq8VqdxTb1r04jv2gj/cF3VeFa4WdrZ2kU158UCP7AWZS1SQxWEBtMf eKxx2lZOU+4tizvnCJBiUIyyekwXfgsHQ1aZuhqALTJJNs5xpK3Of7H0j6mGbzWgoMCl 6Dzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767878809; x=1768483609; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fhXuLQRCKCR59/tQ5liGgiFYnZcEdrpoGi6RuUSeiu8=; b=Z49E0HNS5qtSbVaslNaJ2w8mgf+0YirM9cf/Xcr5sDW4xm4x2k8phmjDGGR9lnKMRW 2g1RuFlDXGMurfVzM9cL9MVZPsw8mrIHau5waUOL87fcguh5NKeF468lTdICyNDn3GAt vXeiMBV3fr1S5dY02BebWfuxCSkhXb0lcQJcwu3OEq0PNLwFUC+sKWa1E6zCNJ+AwWtz CRhX/46H6R0X57A4QvIubfoI3qAEz55Xcu3rDtUiYMlPv85onxDxXjiCsvcGuDwv5+EB IoSn77VPnts4acKjOXapLGlCjcEu0sIjJJlHnWTKrzaLksz1CJla+Vxq4iFUv5Zj0DVh QTEQ== X-Gm-Message-State: AOJu0YwUGRPoktRKr/F1271EzsqF3w/vk+JfufekYucpXRXSL03p4URt lxslkwoz1mSQO13oGm/FhxvqPFEEE74sKb4guqEM8esLkAeEft7mobgFvf/how== X-Gm-Gg: AY/fxX6eisux0+LfHcNYYSMiUsjIy77VlQj9DqK4aKSV0gKoTZTS3S6tgsZ8+qPl1ly 2DuPI3tL3SNVgKiTIZUQDfkVy2spFR2lMHOMTfMnGAhpd/qK+dHb5DmLFi2RLaOl6Qy4F9FqRgs aCPlLGMMAz4XAO/bVOhOjsdJ8nweCoI71pGRJJSJUAUjGLLLHKh0xV2gbT4R0VSCK973aiPUd+E vrfVvsCD9Gb48lUlnxR7YzyPTB1dtJXhkHBZc1tN2T3WBOXIsw6ZhREakUgYwENFfxNa/fzbGtX jU+kH30ZIVr8TVtWxwEJFp3KbuyvuJ8XCahBeHKe7I8wM1RHUJGGX6GYgve2QdAym9XlpH+YvyX 2IcAQldqI6DFDbgf/Cm8WdFF1XH6/dQN+u4o3dJV7H2BgRpiMB2jBwJxe4Gc+y/jsu/Ka61cvCG 33e+cScrRfhuF+FPCtG54= X-Google-Smtp-Source: AGHT+IG7rG7HhvppZW9Wasxdh7rV4R4wVFrIt9MEWmJsUW98WySg/qNrF587d5Y9QdVPlue0fXM7aQ== X-Received: by 2002:a05:6512:31cb:b0:59b:7bfa:9f with SMTP id 2adb3069b0e04-59b7bfa0371mr109400e87.45.1767878808403; Thu, 08 Jan 2026 05:26:48 -0800 (PST) Received: from [192.168.1.37] ([85.132.53.122]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-382eb3bf8d3sm15157671fa.14.2026.01.08.05.26.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Jan 2026 05:26:48 -0800 (PST) Message-ID: <79758f11-44a2-4903-97e8-e61516aeedaa@gmail.com> Date: Thu, 8 Jan 2026 17:26:47 +0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Collation again here To: Daniel Verite Cc: pgsql-general General References: <8a739d96-83d1-482a-885d-3b76498c9e6e@manitou-mail.org> Content-Language: en-US From: Rihad In-Reply-To: <8a739d96-83d1-482a-885d-3b76498c9e6e@manitou-mail.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/8/26 5:19 PM, Daniel Verite wrote: > Rihad wrote: > >> DETAIL: The database was created using collation version 43.0, but the >> operating system provides version 34.0. >> The OS are both FreeBSD, but the master runs 14.3, the replica runs >> 13.5. PostgreSQL packages are built with ICU support by default, the >> versions used are identical: icu-76.1 >> >> >> Could it be that the OS (libc) needs to be the same version? I hoped it >> would be enough to use the same ICU. > That would be the case if the database collation provider was ICU, > that is pg_database.datlocprovider = 'i' > Otherwise no, it's the libc version that matters, unless using > the binary-sorting C or C.UTF-8 collations. > 43.0 and 34.0 don't look like ICU collation version numbers, so > they probably refer to FreeBSD libc (pg_database.datlocprovider = 'c') > > As a general rule, you should indeed run the same OS version > for the primary and physical replicas. > Before Postgres version 15 this message did not exist, so the risks > of mismatch were silent but they existed just the same. > > > Best regards, Thanks. Both FreeBSD 13.5 & 14.3 are "current", just from different major branches. I wonder why they use such different locale/collate versioning, meaning that they differ roughly by that much as in 34 vs. 43. Maybe someone there mistyped 34?)