Re: Consistency of units (bits vs bytes) - Mailing list pgsql-docs

From Daniel Gustafsson
Subject Re: Consistency of units (bits vs bytes)
Date
Msg-id A38B4156-5818-4F28-8AC1-CBAA48757026@yesql.se
Whole thread Raw
In response to Consistency of units (bits vs bytes)  (PG Doc comments form <noreply@postgresql.org>)
List pgsql-docs
> On 14 Nov 2022, at 20:12, PG Doc comments form <noreply@postgresql.org> wrote:
>
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/15/datatype-uuid.html
> Description:
>
> One can describe the size of datatypes in the common units of bits or bytes.
> It'd be desirable to be consistent. Please reference these two pages...
> https://www.postgresql.org/docs/current/datatype-numeric.html (data types
> sized in bytes)
> and
> https://www.postgresql.org/docs/current/datatype-uuid.html (data type sized
> in bits)

These are different things, the page with numeric types discuss the number of
bytes used to store the values.  UUIDs are defined in the RFC as 128-bit
identifiers, which is related to but not by definition the same as the space
used to store them in the database.

--
Daniel Gustafsson        https://vmware.com/




pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Mistake in Syntax definition of ALTER TABLE
Next
From: PG Doc comments form
Date:
Subject: temporary file size clarification