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 1uNAKH-00DOM2-9f for pgsql-general@arkaria.postgresql.org; Thu, 05 Jun 2025 13:08:09 +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 1uNAKE-008yJ4-5C for pgsql-general@arkaria.postgresql.org; Thu, 05 Jun 2025 13:08:06 +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 1uNAKD-008yFh-Pa for pgsql-general@lists.postgresql.org; Thu, 05 Jun 2025 13:08:06 +0000 Received: from mail-oa1-x2b.google.com ([2001:4860:4864:20::2b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uNAK9-000O60-1f for pgsql-general@postgresql.org; Thu, 05 Jun 2025 13:08:02 +0000 Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-2d09d495c6cso242947fac.3 for ; Thu, 05 Jun 2025 06:08:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749128881; x=1749733681; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=16d/T+4kVTjz+kWBfdyb6pDk31WBXE/zufeGOrSBUNA=; b=WvGC6p6L7DQVs5pN0pHcwLDszjSwZ7dxM6HBYOBvqc2BC+la3qOIQM+7XGENjXqbAl cE81ioJv+BRZ4zAA5npyZPcxR+uUYgU691bT8bVQNzFj+qSxN5txGAARtD4ynd9pQLaZ stvRNeOsIhn5J3CgsUKwoVObnBK8LfmlmWSpTmY46YK7Crkm4PRma6KmpsMXEG55lRdn YFLm9WLg84ArZEQe3ZebNv31Yhr4vJpczlx2OAnjqa5PDLhlUuTalqCNdmdbEnPIVV6y z6h/Ewq56Y21xh1SWUReacHFyZ4sp85IpU8BfxQ1LRT12B1siRo4DtygKtPLds7Q7TL6 1JIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749128881; x=1749733681; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=16d/T+4kVTjz+kWBfdyb6pDk31WBXE/zufeGOrSBUNA=; b=bfU5liDRTO8ARZ4AoZI2X1xopPwe6D9MxKspcklbZPBma2xyYapK3g9kpc+bCi82OO 9WRPBWCqH4cqViwrj30tq+Rqe0xZRynnKequTRJq2p2JoZwJar1xNw8mgWxeaplmpyiq 1bj4WxEHVmucylnx7U02np5VUMLBqUVMBjAEBtS/yLdsWys4P9eiTWIVkrtYe1LpC29x u4ctTEES6UZxaSIJcOX9P8xFLI9313l5orGZUHA6pnbf6JfgnHI2eugBiN/m9XWunCgI Gn5DP8UY3AaAql+mlV/Fu8hECX78RRO6CqhU/2B+jinr/TJ2fsciOzWRvxiywX2FM1xV 6x/Q== X-Forwarded-Encrypted: i=1; AJvYcCUkFYNlkjjoWxhbvg+Pdh9R1Avx6+2swdwX5yenI6uFK+TFDZ9A9cTA+Y20k9Jnfpvz2/hRri23dVFALNch@postgresql.org X-Gm-Message-State: AOJu0YwQFb1MwB02W0jKjU/WkOCrMSA4KOL+sYMc92XihvB3RQlfDuTz CXgSppI7Fq3ovd/Pji5b+2jDiIjRQlwbwpe7Mg8c8V4YFwRPTXXnq0XbyNVy8CBO3S0dLC94+o9 kiaPsI6+ySgfz3EESyxW/V14kqOCBqtKHjw== X-Gm-Gg: ASbGncuAC074B6i0cvUuVhBpvpqUrNODb/MZXXVmn0A1K0+ApnrwW9hZRpUFPoDkF/0 BS0KMz62CQX6ImMowtnj8dcgG5Hul5CUF1d7kL0Yl2XyoOYYlehIJKG4WkUkdMRNxFDookDpU7/ v4E+PMUnM2wo9xyjYOIk0BWu1xrFcHLo9xVDw= X-Google-Smtp-Source: AGHT+IGHBjuZSYCIRtxpGmTLzGeWZi3gsa9vgCziS5+iyojZTiizZ1+m2+bEl7xU7WV1G5w5RACN6TWH7m3OIRQnGWE= X-Received: by 2002:a05:6871:6212:b0:2bd:456c:92a with SMTP id 586e51a60fabf-2e9bf1e89b8mr4452876fac.10.1749128880736; Thu, 05 Jun 2025 06:08:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Dominique Devienne Date: Thu, 5 Jun 2025 15:07:49 +0200 X-Gm-Features: AX0GCFuJ3rRA97iarLJLf2zcSg_c5LbRfaAGuqqbntMeE2GQMczVJcQAvZADbao Message-ID: Subject: Re: LOCALE C.UTF-8 on EDB Windows v17 server To: Daniel Verite Cc: Laurenz Albe , pgsql-general@postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jun 5, 2025 at 2:40=E2=80=AFPM Daniel Verite wrote: > Dominique Devienne wrote: > > On Linux, no error unlike on Windows (still inconsistent there IMHO), > > but the result is slightly different for datcollate and datctype (C vs > > en_US), > > while the same for datlocprovider and datlocale, what I looked at. > > > > Thus I kinda persist that there *is* a portability issue here. > > "datcollate" and "datctype" refer to operating system locale names. > > locale 'C.UTF-8' or lc_collate 'C.UTF-8' lc_ctype 'C.UTF-8' > cannot work on Windows because Windows does not have a locale > named C.UTF-8, whereas a Linux system does (well at least recent > Linuxes. Some old Linuxes don't). But isn't the point of the new-in-v17 builtin provider is to be system independent??? > What you are seeing is the effect of OS locales not being portable > across systems. That's confusing but not a Postgres bug. Thus builtin SHOULD be portable IMHO. --DD