Re: 4.1. Lexical Structure

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: y(dot)saburov(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: 4.1. Lexical Structure
Date: 2026-08-27 14:53:31
Message-ID: CAKFQuwa8OKhThrW4Q3TymimxEf5JBVMhDutj5HbbRmDUuvVEkA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Pavel Stehule 2026-08-27 14:58:26 Re: 4.1.2.3. String Constants with Unicode Escapes
Previous Message David G. Johnston 2026-08-27 14:47:51 Re: 4.1.2.3. String Constants with Unicode Escapes