Thread: A documents mistaken of PG12.5

A documents mistaken of PG12.5

From
"qiuchenjun@highgo.com"
Date:
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.



祝工作顺利!
-------------------------------------------
邱臣君
瀚高基础软件股份有限公司
网址:www.highgo.com 
地址:济南市高新区新泺大街2117号铭盛大厦20
手机:186-6081-2363  邮箱:qiuchenjun@highgo.com
Attachment

Re: A documents mistaken of PG12.5

From
Heikki Linnakangas
Date:
On 30/11/2020 04:50, qiuchenjun@highgo.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