From: Vik Fearing <vik@postgresfriends.org>
To: raf <raf@raf.org>
To: pgsql-bugs@lists.postgresql.org
Subject: Re: Inaccurate documentation about identifiers
Date: Sat, 26 Nov 2022 00:19:23 +0100
Message-ID: <aca6e217-bffb-844c-ab63-98d032dbc732@postgresfriends.org> (raw)
In-Reply-To: <Y3a6BMoEzbcZ0rEy@raf.org>
References: <feb15ca0-f449-c862-9414-66220e80304d@umanwizard.com>
<efcd5fee059c8868ca47525a8cfdc8f42cf95fdc.camel@j-davis.com>
<1954348.1668715270@sss.pgh.pa.us>
<Y3a6BMoEzbcZ0rEy@raf.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: vik@postgresfriends.org, raf@raf.org, pgsql-bugs@lists.postgresql.org
Subject: Re: Inaccurate documentation about identifiers
In-Reply-To: <aca6e217-bffb-844c-ab63-98d032dbc732@postgresfriends.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox