pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Consistency of units (bits vs bytes)
2+ messages / 2 participants
[nested] [flat]

* Consistency of units (bits vs bytes)
@ 2022-11-14 19:12 PG Doc comments form <noreply@postgresql.org>
  2022-11-15 10:15 ` Re: Consistency of units (bits vs bytes) Daniel Gustafsson <daniel@yesql.se>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2022-11-14 19:12 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: troy@frericks.us

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)


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Consistency of units (bits vs bytes)
  2022-11-14 19:12 Consistency of units (bits vs bytes) PG Doc comments form <noreply@postgresql.org>
@ 2022-11-15 10:15 ` Daniel Gustafsson <daniel@yesql.se>
  0 siblings, 0 replies; 2+ messages in thread

From: Daniel Gustafsson @ 2022-11-15 10:15 UTC (permalink / raw)
  To: troy@frericks.us; pgsql-docs@lists.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/






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-11-15 10:15 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14 19:12 Consistency of units (bits vs bytes) PG Doc comments form <noreply@postgresql.org>
2022-11-15 10:15 ` Daniel Gustafsson <daniel@yesql.se>

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