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 1oyhyo-000675-9p for pgsql-bugs@arkaria.postgresql.org; Fri, 25 Nov 2022 23:19:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oyhyl-000313-Cm for pgsql-bugs@arkaria.postgresql.org; Fri, 25 Nov 2022 23:19:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oyhyl-0002zs-4U for pgsql-bugs@lists.postgresql.org; Fri, 25 Nov 2022 23:19:31 +0000 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oyhyi-0005pE-Su for pgsql-bugs@lists.postgresql.org; Fri, 25 Nov 2022 23:19:30 +0000 Received: (Authenticated sender: vik@postgresfriends.org) by mail.gandi.net (Postfix) with ESMTPSA id 6DE5360005; Fri, 25 Nov 2022 23:19:23 +0000 (UTC) Message-ID: Date: Sat, 26 Nov 2022 00:19:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: Inaccurate documentation about identifiers Content-Language: en-US To: raf , pgsql-bugs@lists.postgresql.org References: <1954348.1668715270@sss.pgh.pa.us> From: Vik Fearing In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/17/22 23:47, raf wrote: > On Thu, Nov 17, 2022 at 03:01:10PM -0500, Tom Lane wrote: > >> ident_start [A-Za-z\200-\377_] >> ident_cont [A-Za-z\200-\377_0-9\$] >> >> identifier {ident_start}{ident_cont}* > > Does the SQL spec require accepting *only* real letters as letters, > or does it require accepting *at least* real letters as letters. :-) > Just a bit of wishful thinking. ::= [ ... ] ::= | An is any character in the Unicode General Category classes “Lu”, “Ll”, “Lt”, “Lm”, “Lo”, or “Nl”. An is U+00B7, “Middle Dot”, or any character in the Unicode General Category classes “Mn”, “Mc”, “Nd”, or “Pc”. -- Vik Fearing