Re: A documents mistaken of PG12.5

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: "qiuchenjun(at)highgo(dot)com" <qiuchenjun(at)highgo(dot)com>, pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: A documents mistaken of PG12.5
Date: 2020-11-30 09:02:26
Message-ID: 1cc5b81b-1c91-423c-be59-d0169404e796@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 30/11/2020 04:50, qiuchenjun(at)highgo(dot)com wrote:
> Hello,
>
> I found the mistaken in the PG12.5,chapter 4.1.2.2
> whereas in chapter 4.1.1
>
> I think 6-digit is right.

It seems correct to me as it is. Chapter 4.1.1 talks about this syntax:

postgres=# select U&'d\0061t\+000061';
?column?
----------
data
(1 row)

Whereas chapter 4.1.2.2 talks about this syntax:

postgres=# select E'd\u0061t\U00000061';
?column?
----------
data
(1 row)

The former indeed uses 6 digits, whereas the latter uses 8 digits.

- Heikki

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message EffiSYS / Martin Querleu 2020-11-30 09:04:30 Re: Update on
Previous Message Gustavsson Mikael 2020-11-30 06:59:37 SV: SV: Problem with pg_notify / listen