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 1w5niC-003due-2C for pgsql-hackers@arkaria.postgresql.org; Thu, 26 Mar 2026 16:37:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w5niB-003svo-0Y for pgsql-hackers@arkaria.postgresql.org; Thu, 26 Mar 2026 16:37:35 +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 1w5niA-003svg-25 for pgsql-hackers@lists.postgresql.org; Thu, 26 Mar 2026 16:37:35 +0000 Received: from forwardcorp1a.mail.yandex.net ([178.154.239.72]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w5ni8-00000001JZ3-13ou for pgsql-hackers@postgresql.org; Thu, 26 Mar 2026 16:37:34 +0000 Received: from mail-nwsmtp-smtp-corp-main-66.iva.yp-c.yandex.net (mail-nwsmtp-smtp-corp-main-66.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:bf1f:0:640:c739:0]) by forwardcorp1a.mail.yandex.net (Yandex) with ESMTPS id 72BA0C0235; Thu, 26 Mar 2026 19:37:31 +0300 (MSK) Received: from smtpclient.apple (unknown [2a02:6bf:8080:527::1:1d]) by mail-nwsmtp-smtp-corp-main-66.iva.yp-c.yandex.net (smtpcorp/Yandex) with ESMTPSA id SbYBt60AX8c0-YSGImWVz; Thu, 26 Mar 2026 19:37:30 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru; s=default; t=1774543050; bh=QUJ+eq672TyLEpTZUF5+gyzmIps1rI+1f6TBGj44F/s=; h=Message-Id:To:Date:References:Cc:In-Reply-To:From:Subject; b=juVlw93r7bIsiJz9ZJe3YATRUIQRS8FWYWYxyWGsSL2Hh1moX86tXoL1zbcaidUvA fMTVsjzOjxitAGxJWCPgXh8ak1RpyWHWAMjEaXH5RyAJhFdtDSKZEy1xhu5FtEgRuJ KfmA6v3+gsCXZYBlgEVK8/FweQgHl9TUDflpzPF4= Authentication-Results: mail-nwsmtp-smtp-corp-main-66.iva.yp-c.yandex.net; dkim=pass header.i=@yandex-team.ru Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.400.21\)) Subject: Re: Add uuid_to_base32hex() and base32hex_to_uuid() built-in functions From: Andrey Borodin In-Reply-To: <682417.1774482047@sss.pgh.pa.us> Date: Thu, 26 Mar 2026 21:37:18 +0500 Cc: Masahiko Sawada , Aleksander Alekseev , pgsql-hackers , Chao Li , =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= , Sergey Prokhorenko Content-Transfer-Encoding: quoted-printable Message-Id: <748CC2A1-FADF-4036-8E3E-2B2E678DCAB5@yandex-team.ru> References: <1791665551.452444.1761209220211.ref@mail.yahoo.com> <1895971769.8343.1761240853939@mail.yahoo.com> <574624399.175025.1761290201491@mail.yahoo.com> <953203149.383019.1761345585325@mail.yahoo.com> <6F76FA61-E2DC-44EF-9504-889D9BDB4EBD@yandex-team.ru> <1154454839.957923.1761604611424@mail.yahoo.com> <87ldkv8cog.fsf@wibble.ilmari.org> <87ikfz7zcu.fsf@wibble.ilmari.org> <9CB824CC-70DC-4165-AC6A-9664F47209EE@yandex-team.ru> <878qbn51kb.fsf@wibble.ilmari.org> <1F13AF7E-B90A-40FB-B47C-DC38FBB08353@gmail.com> <682417.1774482047@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.3864.400.21) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 26 Mar 2026, at 04:40, Tom Lane wrote: >=20 > I wonder whether this discovery puts enough of a hole in the > value-proposition for base32hex that we should just revert > this patch altogether. =20 After thinking more about it, I do not see grounds for reverting. > "It works except in some locales" It works per RFC. It adds value. It's documented precisely. Sortability in cs_CZ only stands in a way for this format to become "the = one UUID format to rule them all" instead of canonical in the future. We should let IETF WG know that digits and letters are not always = ordered as they expect. Hopefully Sergey will handle this. BTW, thanks to Alexander and Masahiko for pushing this to finish line! = I'm listed as author, but they done 99.9% of work on making this = functionality. Best regards, Andrey Borodin.=