Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oiloz-0005sG-GQ for pgsql-docs@arkaria.postgresql.org; Thu, 13 Oct 2022 00:11:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oiloy-0002Ri-1q for pgsql-docs@arkaria.postgresql.org; Thu, 13 Oct 2022 00:11:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oilox-0002RZ-Qw for pgsql-docs@lists.postgresql.org; Thu, 13 Oct 2022 00:11:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oilor-0007y8-8g for pgsql-docs@lists.postgresql.org; Thu, 13 Oct 2022 00:11:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 29D0BNGQ870552; Wed, 12 Oct 2022 20:11:23 -0400 From: Tom Lane To: zack02469@yahoo.com cc: pgsql-docs@lists.postgresql.org Subject: Re: Section 9.7.3.2. Bracket Expressions should be rewritten In-reply-to: <166558370911.591811.13134615993053243791@wrigleys.postgresql.org> References: <166558370911.591811.13134615993053243791@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Wed, 12 Oct 2022 14:08:29 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <870550.1665619883.1@sss.pgh.pa.us> Date: Wed, 12 Oct 2022 20:11:23 -0400 Message-ID: <870551.1665619883@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Doc comments form writes: > I am a Postgres newbie, and I find this part of what is generally excellent > documentation quite confusing. It contains the following disclaimer: > Note > PostgreSQL currently does not support multi-character collating elements. > This information describes possible future behavior. > I am very skeptical of the idea of documentation describing "possible future > behavior." What that means is "we don't implement this, but it's required by POSIX, so we really ought to get around to it someday". I have considered the idea of deleting mention of multi-character collating elements from the preceding paragraph, but then we'd be left with nothing but a statement that "[.x.]" means the same thing as "x" inside a bracket expression. Which is weird and confusing enough that we'd still have to talk about multi-character collating elements in order to explain why it's like that. > Furthermore, it appears that this disclaimer has been part of the docs since > at least version 10, so it's not even clear that this feature is even > currently being seriously considered for implementation. Hah! Look a bit further back :-( regards, tom lane