Re: Inaccurate documentation about identifiers

From: Vik Fearing <vik(at)postgresfriends(dot)org>
To: raf <raf(at)raf(dot)org>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Inaccurate documentation about identifiers
Date: 2022-11-25 23:19:23
Message-ID: aca6e217-bffb-844c-ab63-98d032dbc732@postgresfriends.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 11/17/22 23:47, raf wrote:
> On Thu, Nov 17, 2022 at 03:01:10PM -0500, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Vik Fearing 2022-11-26 00:13:29 Re: BUG #17696: Creation of deferrable initially deferred constraint breaks before transaction commit
Previous Message PG Bug reporting form 2022-11-25 18:01:40 BUG #17698: On SIGTERM, psql terminates, but leaves the statement running