pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <daniel@yesql.se>
To: troy@frericks.us
To: pgsql-docs@lists.postgresql.org
Subject: Re: Consistency of units (bits vs bytes)
Date: Tue, 15 Nov 2022 11:15:51 +0100
Message-ID: <A38B4156-5818-4F28-8AC1-CBAA48757026@yesql.se> (raw)
In-Reply-To: <166845317039.635.6194510047097701846@wrigleys.postgresql.org>
References: <166845317039.635.6194510047097701846@wrigleys.postgresql.org>

> 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/






view thread (2+ messages)

Message-ID: <A38B4156-5818-4F28-8AC1-CBAA48757026@yesql.se>
Permalink:  ../A38B4156-5818-4F28-8AC1-CBAA48757026@yesql.se/
Also on:    postgresql.org/message-id/A38B4156-5818-4F28-8AC1-CBAA48757026@yesql.se

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: daniel@yesql.se, troy@frericks.us, pgsql-docs@lists.postgresql.org
  Subject: Re: Consistency of units (bits vs bytes)
  In-Reply-To: <A38B4156-5818-4F28-8AC1-CBAA48757026@yesql.se>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox