Thread: 8.12. UUID Type

8.12. UUID Type

From
PG Doc comments form
Date:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/datatype-uuid.html
Description:

Is this the right sentence? "use of upper-case digits"
>>PostgreSQL also accepts the following alternative forms for input: use of
upper-case digits

Re: 8.12. UUID Type

From
Laurenz Albe
Date:
On Thu, 2024-06-13 at 08:59 +0000, PG Doc comments form wrote:
> Page: https://www.postgresql.org/docs/16/datatype-uuid.html
> Description:
>
> Is this the right sentence? "use of upper-case digits"
> > > PostgreSQL also accepts the following alternative forms for input: use of upper-case digits

Hexadecimal digits, also known as letters.

Yours,
Laurenz Albe



Re: 8.12. UUID Type

From
hubert depesz lubaczewski
Date:
On Thu, Jun 13, 2024 at 08:59:18AM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/16/datatype-uuid.html
> Description:
> 
> Is this the right sentence? "use of upper-case digits"
> >>PostgreSQL also accepts the following alternative forms for input: use of
> upper-case digits


I'd say so. Previous paragraph says:

"…sequence of lower-case hexadecimal digits…"

So digits are not only 0-9, but also a-f. And this can be upper or lower
case.

Best regards,

depesz




Re: 8.12. UUID Type

From
Alvaro Herrera
Date:
On 2024-Jun-13, Laurenz Albe wrote:

> On Thu, 2024-06-13 at 08:59 +0000, PG Doc comments form wrote:
> > Page: https://www.postgresql.org/docs/16/datatype-uuid.html
> > Description:
> > 
> > Is this the right sentence? "use of upper-case digits"
> > > > PostgreSQL also accepts the following alternative forms for input: use of upper-case digits
> 
> Hexadecimal digits, also known as letters.

Everybody knows that ! is an uppercase 1, right?
/s

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
#error "Operator lives in the wrong universe"
  ("Use of cookies in real-time system development", M. Gleixner, M. Mc Guire)