Re: Inaccurate documentation about identifiers - Mailing list pgsql-bugs

From Vik Fearing
Subject Re: Inaccurate documentation about identifiers
Date
Msg-id aca6e217-bffb-844c-ab63-98d032dbc732@postgresfriends.org
Whole thread Raw
In response to Re: Inaccurate documentation about identifiers  (raf <raf@raf.org>)
List pgsql-bugs
On 11/17/22 23:47, raf wrote:
> On Thu, Nov 17, 2022 at 03:01:10PM -0500, Tom Lane <tgl@sss.pgh.pa.us> 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.

<identifier body> ::=
   <identifier start> [ <identifier part>... ]

<identifier part> ::=
     <identifier start>
   | <identifier extend>

An <identifier start> is any character in the Unicode General Category 
classes “Lu”, “Ll”, “Lt”, “Lm”, “Lo”, or “Nl”.

An <identifier extend> is U+00B7, “Middle Dot”, or any character in the 
Unicode General Category classes “Mn”, “Mc”, “Nd”, or “Pc”.
-- 
Vik Fearing




pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #17698: On SIGTERM, psql terminates, but leaves the statement running
Next
From: Vik Fearing
Date:
Subject: Re: BUG #17696: Creation of deferrable initially deferred constraint breaks before transaction commit