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 1sURgH-0035Qt-Is for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Jul 2024 14:00:25 +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 1sURgF-00GpnU-3J for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Jul 2024 14:00:23 +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 1sURgE-00Gpj0-Pq for pgsql-hackers@lists.postgresql.org; Thu, 18 Jul 2024 14:00:23 +0000 Received: from mail-yw1-x112b.google.com ([2607:f8b0:4864:20::112b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sURgC-000CWI-FA for pgsql-hackers@postgresql.org; Thu, 18 Jul 2024 14:00:21 +0000 Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-66493332ebfso7101967b3.3 for ; Thu, 18 Jul 2024 07:00:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1721311219; x=1721916019; darn=postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=0RmEk2xx+Gln7ubKIhcrNvSSk0I69vaj5fCLJ8E51io=; b=J0/AGweLFDxUpDh1u+QWCcArGc4TrZke8b3HoWeij+xku7XbOfCkLB0kWdBAY08Sy6 yvJGMSWYIBcFgwV5k53lp4D75+0HDsh0iEYQnqzdwAU09oqm3ph/4m1kkmZNQ2e45eGe MLSwdbGJkJMmNrvZ9m1wnRn/Gse8tl0B69Dvk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721311219; x=1721916019; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0RmEk2xx+Gln7ubKIhcrNvSSk0I69vaj5fCLJ8E51io=; b=JEwbLpQyG1R9AOkT1GAnkhtEiO/lx7Jr7Pv7fcis5LotMvjjd7zdMs2f5NLNuM4T2X gd8qvH98fg9y27OV1FDw0HrmaMuBwHp5I9z5lEjBAc/jTJxVOJze5aY5BtqxFbGJ9tha 52hIDPlC8k/rnnTIh/cjrEg4s4k/W8KM6HZU5CJfUyQ84utSrQTjEf/GnmCMyErkHjQz yTzvUeUEgWkOGJnXHKvU8jnugGChpuTyh9QQZtFOCxxp8nlshWwrF5nwn/4FVRgDR5Ln FBVYKCXPA8r3x0JFfILAcWI3v6fQkj7xh6rOXjU6cK/sx39D4D9wITe0CFMZzgM/8QNl PmDQ== X-Forwarded-Encrypted: i=1; AJvYcCUHzwrtZeqcCicKGMP00CnpVDqUJEAJW6n2xjsBDnhw+DF5awQDANkbq+uJM4DR/5Q2PyjO5rp/rDRmSJQgFKSAYuki0YRGfiD4ibaV X-Gm-Message-State: AOJu0YxKj6o0durOkM6xDFGvDbnIHaB9MU5rQ0dE9D1+inpjHlg+bDjf 5ydHyT+fcSYOZYI/wDmOBfoEiW1UFRZ0HQnaSNEtYhTzG8injS7YLt7B4Yuagg== X-Google-Smtp-Source: AGHT+IHg+DH+7K7rBTesDF4Aas69dA1JNyrhV1sB59hzTXGmcVI8KzikfKVGQgpfD89mFbqnhGRnRA== X-Received: by 2002:a05:690c:3488:b0:618:8d66:8363 with SMTP id 00721157ae682-66605928f10mr30350807b3.41.1721311219437; Thu, 18 Jul 2024 07:00:19 -0700 (PDT) Received: from google.com ([2600:1702:a20:5750::48]) by smtp.gmail.com with ESMTPSA id 00721157ae682-66601bcf0b7sm3411477b3.18.2024.07.18.07.00.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jul 2024 07:00:18 -0700 (PDT) Date: Thu, 18 Jul 2024 07:00:15 -0700 From: Noah Misch To: Laurenz Albe Cc: Jeff Davis , Peter Eisentraut , Daniel Verite , Jeremy Schneider , Tom Lane , Robert Haas , pgsql-hackers@postgresql.org Subject: Re: Built-in CTYPE provider Message-ID: <20240718140015.9b.nmisch@google.com> References: <20240704212641.c4.nmisch@google.com> <1d178eb1bbd61da1bcfe4a11d6545e9cdcede1d1.camel@j-davis.com> <20240706195129.fd@rfd.leadboat.com> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4efae9f992f96a1e8eba0f515c637c3ff252d0fc.camel@cybertec.at> User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jul 18, 2024 at 10:05:34AM +0200, Laurenz Albe wrote: > On Wed, 2024-07-17 at 15:03 -0700, Noah Misch wrote: > > If I'm counting the votes right, you and Tom have voted that the feature's > > current state is okay, and I and Laurenz have voted that it's not okay. > > Maybe I should expand my position. > > I am very much for the built-in CTYPE provider. When I said that I am against > changes in major versions, I mean changes that are likely to affect real-life > usage patterns. If there are modifications affecting a code point that was > previously unassigned, it is *theoretically* possible, but very unlikely, that > someone has stored it in a database. I would want to deliberate about any change > affecting such a code point, and if the change seems highly desirable, we can > consider applying it. > > What I am against is routinely updating the built-in provider to adopt any changes > that Unicode makes. Given all the messages on this thread, if the feature remains in PostgreSQL, I advise you to be ready to tolerate PostgreSQL "routinely updating the built-in provider to adopt any changes that Unicode makes". Maybe someone will change something in v18 so it's not like that, but don't count on it. Would you like to change your vote to "okay", keep your vote at "not okay", or change it to an abstention? > To make a comparison with Tom's argument upthread: we have slightly changed how > floating point computations work, even though they are IMMUTABLE. But I'd argue > that very few people build indexes on the results of floating point arithmetic > (and those who do are probably doing something wrong), so the risk is acceptable. > But people index strings all the time. Agreed.