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 1rsLqi-006VHc-35 for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Apr 2024 12:05:45 +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 1rsLqh-0042Rb-89 for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Apr 2024 12:05:43 +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 1rsLqf-0042RR-8o for pgsql-hackers@lists.postgresql.org; Thu, 04 Apr 2024 12:05:42 +0000 Received: from wfout7-smtp.messagingengine.com ([64.147.123.150]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rsLqa-000b5N-Ij for pgsql-hackers@postgresql.org; Thu, 04 Apr 2024 12:05:40 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.west.internal (Postfix) with ESMTP id 70AC11C000CC; Thu, 4 Apr 2024 08:05:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 04 Apr 2024 08:05:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm1; t=1712232330; x=1712318730; bh=O5HpRr+UUoqG+qdkkLNRpOFU4sQHxDjp W3TJhg6UeOM=; b=K03d9dfHPj4vDRXIrQKmPTd9UjAVguwM3A3neWn/47dk/r3L p9DuH45qqXJgMFmPG+ExiGUZK/YXqHdkyuxP3av6pWNC1JNMjzYloe2S1vRvWaBh mtNer2Zo9tj7h9QShFjjWKOnWC6waiZF2S6zd/93etMz9wJ36alYfv4t+IalJegu Fiph5r9tsyJuaeH9GBkMGP/dEnYMkVMsOdN2g/LQpnbRJSQY7UKsm22lKK8fDXFY AW6D48lzH2jqh9BlZaEc91JBscqa7Jb+jrVxj24OXQxS/hI42cH8sBVJ2ml7PoWg aWIlQXED3h86H10HOA9VMYTtBPklsc/DSLFFsw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1712232330; x= 1712318730; bh=O5HpRr+UUoqG+qdkkLNRpOFU4sQHxDjpW3TJhg6UeOM=; b=A ivEtk6m+XYZBGx+CuDgL1wW0BXZ9NSM0hvnAC3pFsII0C8skJeGRhWAaYobZehLa GzRls+3/8tAhTKswQExP9LFv8nN+o/xvvhkzUzLa0SJ87/25wJ6Xoe8G28++yse/ xV9YomT4kWSh/UnxE2j/hlot8zvpBVfuIkP9+hBXJ8H5abg3KGJ5eTxPeIzWRdPR Tp5L2MtzQ+bK5fWbuzB4LwDJD5sbgDTPxezQpSKcWkr6qs76hICmrVLJpUi3UVu/ HbOd8Vr6r0q1KVmw//pI3xFTYeox9UaPxT+WY7DgmO+PhP1czYWM91YtgSThs5kK 0AkhCvYmLqFBDMB71/w0w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefkedggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh eqnecuggftrfgrthhtvghrnhepgfejtdfhkeeftdeugfeileehteeljeeghfeuledthfeu tedvffdukeefjefhgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 4 Apr 2024 08:05:29 -0400 (EDT) Message-ID: Date: Thu, 4 Apr 2024 14:05:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Built-in CTYPE provider To: Jeff Davis , Daniel Verite Cc: Robert Haas , Jeremy Schneider , pgsql-hackers@postgresql.org References: <6f3e94c0-f174-4380-9b69-072f8a838881@manitou-mail.org> <2692039df6b0cac20c5e488fa0209e8958c5fedb.camel@j-davis.com> <27bb0e52-801d-4f73-a0a4-02cfdd4a9ada@eisentraut.org> <4a69d067374d2f6bfb66f5bfb2ab9a020493d49f.camel@j-davis.com> <3bc653b5d562ae9e2838b11cb696816c328a489a.camel@j-davis.com> <163f4e2190cdf67f67016044e503c5004547e5a9.camel@j-davis.com> <6bdb98e68b2b05aa71f7f934e227738eac84ecee.camel@j-davis.com> <19b34a70-f5cf-4faf-88dc-917db44ed48d@eisentraut.org> <846a7e1fa2024918b58ff7583523a2f3de9a11b4.camel@j-davis.com> <3117d30aa911b408b90420f4f280fa0c3b5851be.camel@j-davis.com> <4135cf11-206d-40ed-96c0-9363c1232379@eisentraut.org> <7451f81ba0cb512222ab759de8ca1cffe44e9acb.camel@j-davis.com> <1f309153-8198-4efa-86dd-8c304ec0040c@eisentraut.org> <480c02813ee26e83e305d015be6a63059bb3ddd8.camel@j-davis.com> Content-Language: en-US From: Peter Eisentraut In-Reply-To: <480c02813ee26e83e305d015be6a63059bb3ddd8.camel@j-davis.com> 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 01.04.24 21:52, Jeff Davis wrote: > On Tue, 2024-03-26 at 08:04 +0100, Peter Eisentraut wrote: >> The patch set v27 is ok with me, modulo (a) discussion about initcap >> semantics, and (b) what collation to assign to ucs_basic, which can >> be >> revisited later. > > Attached v28. > > The remaining patches are for full case mapping and PG_UNICODE_FAST. > > I am fine waiting until July to get these remaining patches committed. > That would give us time to sort out details like: > > * Get consensus that it's OK to change UCS_BASIC. > * Figure out if we need a pg-specific locale and whether > PG_UNICODE_FAST is the right name. > * Make sure that full case mapping interacts with regexes in a sane way > (probably it needs to just fall back to simple case mapping, but > perhaps that's worth a discussion). > * Implement case folding. > * Implement a more unicode-friendly TITLECASE() function, which could > offer a number of options that don't fit well with INITCAP(). > * Figure out if UPPER()/LOWER() should also have some of those options. > > Thoughts? Yeah, I think it's good to give some more time to work out these things. The features committed for PG17 so far are solid, so it's a good point to pause.