Re: Consistency of units (bits vs bytes)

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: troy(at)frericks(dot)us, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Consistency of units (bits vs bytes)
Date: 2022-11-15 10:15:51
Message-ID: A38B4156-5818-4F28-8AC1-CBAA48757026@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

> On 14 Nov 2022, at 20:12, 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/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/

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2022-11-16 10:26:38 temporary file size clarification
Previous Message Tom Lane 2022-11-14 21:11:56 Re: Mistake in Syntax definition of ALTER TABLE