| From: | Yaroslav Saburov <y(dot)saburov(at)gmail(dot)com> |
|---|---|
| To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
| Cc: | pgsql-docs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: 4.1. Lexical Structure |
| Date: | 2026-08-28 04:32:28 |
| Message-ID: | CAC2sXV9i0u5yVNPF-OKPriYkLUp3s8J2Bx=Ra7iDP7=pwM44Wg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
What should I look for?
postgres=# SELECT U&"d\0061t\+000061";
ERROR: column "data" does not exist
LINE 1: SELECT U&"d\0061t\+000061";
^
postgres=# SELECT U&"\0441\043B\043E\043D";
ERROR: column "слон" does not exist
LINE 1: SELECT U&"\0441\043B\043E\043D";
^
postgres=# SELECT U&"d!0061t!+000061" UESCAPE '!';
ERROR: column "data" does not exist
LINE 1: SELECT U&"d!0061t!+000061" UESCAPE '!';
чт, 27 авг. 2026 г. в 17:54, David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>:
> On Thu, Aug 27, 2026 at 10:20 AM PG Doc comments form <
> noreply(at)postgresql(dot)org> wrote:
>
>> The following documentation comment has been logged on the website:
>>
>> Page: https://www.postgresql.org/docs/18/sql-syntax-lexical.html
>> Description:
>>
>> Why repeat information within the same section?
>>
>
> 4.1.1 and 4.1.2 are rightly written so as to keep them independent of one
> another. It in part avoids wordiness in dealing with the fact that
> identifiers use double quotes while string literals use single quotes.
>
>
>> In Section 4.1.1, “Identifiers and Keywords”:
>>
>> > U&“d\0061t\+000061”
>>
>> This information, along with examples, is also provided in Section
>> 4.1.2.3.
>> String Constants with Escaped Unicode Characters
>>
>> > U&'d\0061t\+000061'
>>
>>
> Thus while these are indeed both similar to each other the so-called
> repetition is warranted.
>
> David J.
>
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David G. Johnston | 2026-08-28 11:40:13 | Re: 4.1. Lexical Structure |
| Previous Message | Yaroslav Saburov | 2026-08-28 04:11:40 | Re: tutorial |