Re: Inaccurate documentation about identifiers

Поиск
Список
Период
Сортировка
От Vik Fearing
Тема Re: Inaccurate documentation about identifiers
Дата
Msg-id aca6e217-bffb-844c-ab63-98d032dbc732@postgresfriends.org
обсуждение исходный текст
Ответ на Re: Inaccurate documentation about identifiers  (raf <raf@raf.org>)
Список 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 по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17698: On SIGTERM, psql terminates, but leaves the statement running
Следующее
От: Vik Fearing
Дата:
Сообщение: Re: BUG #17696: Creation of deferrable initially deferred constraint breaks before transaction commit