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 1sUpsm-0061Gl-H1 for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Jul 2024 15:50:56 +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 1sUpsj-001PZV-FH for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Jul 2024 15:50:53 +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 1sUpsi-001PZN-TD for pgsql-hackers@lists.postgresql.org; Fri, 19 Jul 2024 15:50:53 +0000 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sUpsb-000OSe-Ov for pgsql-hackers@postgresql.org; Fri, 19 Jul 2024 15:50:51 +0000 Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-78aeee1068aso1542324a12.2 for ; Fri, 19 Jul 2024 08:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20230601.gappssmtp.com; s=20230601; t=1721404244; x=1722009044; darn=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=Qcyj4om6jyvzxHBQx1AHZMGJvkH34tc1u0EKkRo+A9M=; b=WHAmVFhU3e12EQWRKwqFpkeWwikrI/g/87Jgf/4+Dv0EdJVVc48TAH8PH12++AkeVW TVSwXfeaIREXZg62vK6JfE9m1swHuskBNMhyV0nAbqHzPzjw7CNaAbrY0Pem5+u0rIlu KA21qArJp9U73fLGdUpBtpNmX56NZ9VTRT+KGN4xS3rxrGR9bQqJBKBUiJi+2UO8FyAv ZjBLsRpAPMBM2pB1Tr7S1CknBnq12Lr/ldxrk7PKBVRlP92qOD7w7fhcLxoif3m2ddwr 1aFgYHwM/h/tguxXWRnSu4iM/1ZjdS4gyzWgbzuxfN4lldHuPQB5Ol2r25YrWqcviocG QeUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721404244; x=1722009044; 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=Qcyj4om6jyvzxHBQx1AHZMGJvkH34tc1u0EKkRo+A9M=; b=eqQZbtT4pCg2FgVEYWsvJsX9qHY4VQA4OXI0aDlyUUaOX9zuRZ7mIwNWR4LdIoRgI6 27+GVYsRVte91o8gbaTFNpMOtXt1HTJPqSnKsLyJ2WQJLsysHo2euDW24yhHNS8XefBq uYQH7Pi50eKc2tP4/kRvvyGwh3/mluVW3FzOdUHXBTVgpLeELMrKmgPPNG+jYSxBmi0T 7NsKNaiYyHpKm1+ggwUvp215mzqjtyq9lz87AmPDPNHdQt2FPK5135AygYcEqwA0S1Jo 6ayIriNuliFeo8mKbQFjMeM0B19Im6l6tRwJZYmwFp+j6ndAqx0LrKGTRopkuEedRLAi a0sA== X-Forwarded-Encrypted: i=1; AJvYcCWNXs0pNC3nT16+t8BrA0kudA1RGAlGwsOdmAnOmbOl9OVXZJgWhb2uTaO2hnSmTnU7cGQe+9C45/cV2VeY4D7ZOoF6qXbwZz9i9a5Y X-Gm-Message-State: AOJu0YxbADVIkdleNOmYxBS3raK5hAK3P+HgeSERxr8DyvWdCuhoqths WLCKUjTu0ekEbbsnT8kqozBXkKndLnAI0yrBU0O73M9OTVHITEhHm36kT2gZAA== X-Google-Smtp-Source: AGHT+IGs/xyopH2GCIa0nf9pJ5emr/eQkWSuf+MSg95hodMFb5+sSjLU2gDJn0TAjJZT3DmELeZQQg== X-Received: by 2002:a05:6a21:2d8f:b0:1c4:21c0:e835 with SMTP id adf61e73a8af0-1c421c0eb74mr604986637.2.1721404243895; Fri, 19 Jul 2024 08:50:43 -0700 (PDT) Received: from jeff-laptop.lan (c-76-102-242-158.hsd1.ca.comcast.net. [76.102.242.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fd6f25710dsm6424235ad.8.2024.07.19.08.50.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jul 2024 08:50:43 -0700 (PDT) Message-ID: <9bc08ca7687ecb2c37d04e5ccde76903848dd998.camel@j-davis.com> Subject: Re: Built-in CTYPE provider From: Jeff Davis To: Noah Misch , Tom Lane Cc: Laurenz Albe , Peter Eisentraut , Daniel Verite , Jeremy Schneider , Robert Haas , pgsql-hackers@postgresql.org Date: Fri, 19 Jul 2024 08:50:41 -0700 In-Reply-To: <20240718233908.52.nmisch@google.com> References: <564325.1720297161@sss.pgh.pa.us> <20240709010545.8c.nmisch@google.com> <39a30bd36198b44ed40da271ef96a72d133c32ba.camel@j-davis.com> <20240711125040.11.nmisch@google.com> <1908b19c0a3a210935608635cad1b4eeb819c66f.camel@j-davis.com> <20240717220326.df.nmisch@google.com> <4efae9f992f96a1e8eba0f515c637c3ff252d0fc.camel@cybertec.at> <20240718140015.9b.nmisch@google.com> <3729436.1721322211@sss.pgh.pa.us> <20240718233908.52.nmisch@google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu2 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2024-07-18 at 16:39 -0700, Noah Misch wrote: > I'm with a different kind of packager.=C2=A0 I don't tolerate index scans > returning > wrong answers. I doubt that. We've all been tolerating the risk of index scans returning wrong results in some cases. Consider: a. Some user creates an expression index on NORMALIZE(); vs. b. Some user chooses the builtin "C.UTF-8" locale and creates a partial index with a predicate like "string ~ '[[:alpha:]]'" (or an expression index on LOWER()) Both cases create a risk if we update Unicode in some future version. Why are you unconcerned about case (a), but highly concerned about case (b)? Neither seem to be a pressing problem because updating Unicode is our choice, so we have time to reach a compromise. > [1] Daniel Verite said packagers could patch src/Makefile.global.in > and run > "make -C src/common/unicode update-unicode".=C2=A0 Editing > src/Makefile.global.in > is modifying PostgreSQL, not configuring a packager-facing option. Then go to the other thread[1] and propose that it be exposed as a packager-facing option along with any proposed Unicode update. There are other potential compromises possible, so I don't think this 17 subthread is the right place to discuss it, but it strikes me as a reasonable proposal. I sincerely think you are overcomplicating matters with version 17 procedural motions. Let the community process play out in version 18 like normal, because there's no actual problem now, I see no reason your objections would be taken less seriously later. Regards, Jeff Davis [1]=20 https://www.postgresql.org/message-id/d75d2d0d1d2bd45b2c332c47e3e0a67f0640b= 49c.camel%40j-davis.com