Paste into your AI assistant to fix the article, then ask for a re-review.
Show the text
Fix the article with this report, then ask pgTrue for a re-review.
# pgTrue report: Postgres FM \| Transcript: UUIDv4 vs UUIDv7
Article title: Postgres FM \| Transcript: UUIDv4 vs UUIDv7
Article URL: https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript
Report URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f
Audited revision: 1 of 1, 2026-10-31 14:32:01 UTC
Overall letter: B
## Axes
- Factual: B+ · 1 wrong · 24 checked · 0 caveats · assessed
- Applicable: A · 0 wrong · 24 checked · 0 caveats · assessed
- Consistent: A · 0 wrong · 24 checked · 0 caveats · assessed
- Transparent: C · 0 wrong · 8 checked · 0 caveats · assessed
- Safe: A · 0 wrong · 8 checked · 0 caveats · assessed
ElephantSeal: B.
Open conditions: the benchmark cannot yet be rerun from what is published; central claim not checked.
## Report metadata
- Report: Technical fact-check, edition 2
- pgTrue version: audited with v1.1.4
- Issued: 2026-10-31
- Edition: Updated after review. Corrections are listed below.
- Submitted: Submitted by the PostgresAI team.
- Author response: No written reply from the author. See Revisions below. Policy: [right-of-reply and corrections policy](/pgtrue/security).
## Findings needing a change (1)
### F23 · Inaccurate · Factual · Inaccuracy: “…it's 18 bytes…”
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=it%27s%2018%20bytes)
Article says:
```text
…it's 18 bytes…
```
What is true:
UUID values occupy 16 bytes. PostgreSQL defines UUID_LEN as 16 in src/include/utils/uuid.h:18. The transcript's 18-byte figure overstates value width by 2 bytes.
So what:
Use 16 bytes per UUID value when estimating key storage. Account for index tuple overhead separately.
Review: We considered index overhead and the earlier correct 16-byte statement. Neither makes the later value-width figure correct. The storage-estimation action is concrete. We tested whether 18 bytes could describe index overhead. Context describes UUID value width. UUID_LEN is 16, and the correction names a concrete storage-estimation decision.
Sources:
- [REL_18_6 · src/include/utils/uuid.h:18-18](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/include/utils/uuid.h#L18-L18)
Excerpt:
```text
#define UUID_LEN 16
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F23
## Verified accurate claims (23)
### F3 · Accurate · Factual · UUIDv4 and UUIDv7 share the uuid type
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=not%20the%20format.)
Article says:
```text
…not the format.
```
What is true:
PostgreSQL 18 stores both versions in uuid columns. uuid.c places the version in byte 6 and the UUIDv7 timestamp in bytes 0–5. UUIDv4 uses random payload bits. UUID comparisons use memcmp(). Timestamp extraction returns null for UUIDv4.
Charitable reading:
The article distinguishes UUID contents from the column's storage type.
Review: We checked whether different UUID versions require different storage types. The documentation permits every version, and the implementation confirms the stated fields. We checked storage compatibility separately from generation and comparison. PostgreSQL supports both UUID versions through the same type.
Sources:
- [REL_18_6 · doc/src/sgml/func.sgml:14521-14525](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/func.sgml#L14521-L14525)
Excerpt:
```text
Extracts a <type>timestamp with time zone</type> from a UUID of
version 1 or 7. For other versions, this function returns null.
Note that the extracted timestamp is not necessarily exactly equal
to the time the UUID was generated; this depends on the
implementation that generated the UUID.
```
- [REL_18_6 · doc/src/sgml/datatype.sgml:4413-4416](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/datatype.sgml#L4413-L4416)
Excerpt:
```text
<productname>PostgreSQL</productname> provides native support for generating UUIDs
using the UUIDv4 and UUIDv7 algorithms. Alternatively, UUID values can be generated
outside of the database using any algorithm. The data type <type>uuid</type> can be used
to store any UUID, regardless of the origin and the UUID version.
```
- [REL_18_6 · src/backend/utils/adt/uuid.c:531-535](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/adt/uuid.c#L531-L535)
Excerpt:
```text
/* set version field, top four bits */
uuid->data[6] = (uuid->data[6] & 0x0f) | (version << 4);
/* set variant field, top two bits are 1, 0 */
uuid->data[8] = (uuid->data[8] & 0x3f) | 0x80;
```
- [REL_18_6 · src/backend/utils/adt/uuid.c:539-542](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/adt/uuid.c#L539-L542)
Excerpt:
```text
* Generate UUID version 4.
*
* All UUID bytes are filled with strong random numbers except version and
* variant bits.
```
- [REL_18_6 · src/backend/utils/adt/uuid.c:628-633](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/adt/uuid.c#L628-L633)
Excerpt:
```text
uuid->data[0] = (unsigned char) (unix_ts_ms >> 40);
uuid->data[1] = (unsigned char) (unix_ts_ms >> 32);
uuid->data[2] = (unsigned char) (unix_ts_ms >> 24);
uuid->data[3] = (unsigned char) (unix_ts_ms >> 16);
uuid->data[4] = (unsigned char) (unix_ts_ms >> 8);
uuid->data[5] = (unsigned char) unix_ts_ms;
```
- [REL_18_6 · src/backend/utils/adt/uuid.c:223-223](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/adt/uuid.c#L223-L223)
Excerpt:
```text
return memcmp(arg1->data, arg2->data, UUID_LEN);
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F3
### F4 · Accurate · Factual · pgbench runs as fast as possible by default
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=go%20as%20fast%20as%20possible%2C%20with%20pgbench%27s%20default%20behavior)
Article says:
```text
…go as fast as possible, with pgbench's default behavior…
```
What is true:
PostgreSQL 18's pgbench documentation describes unrestricted transaction pacing as the default. --rate selects a target rate. This verifies pacing, not the benchmark's insert script or achieved throughput.
Charitable reading:
Default behavior refers to transaction pacing, not pgbench's built-in SQL workload.
Review: We distinguished transaction pacing from pgbench's default workload. The finding verifies only pacing, which the documentation explicitly supports. We checked whether default behavior meant SQL workload or pacing. Context supports pacing, which the pgbench documentation confirms.
Sources:
- [REL_18_6 · doc/src/sgml/ref/pgbench.sgml:644-647](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/ref/pgbench.sgml#L644-L647)
Excerpt:
```text
Execute transactions targeting the specified rate instead of running
as fast as possible (the default). The rate is given in transactions
per second. If the targeted rate is above the maximum possible rate,
the rate limit won't impact the results.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F4
### F5 · Accurate · Factual · The checkpoint-related full-page-image explanation holds
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=then%20it%20goes%20to%20WAL,once%20compressed%2C%20full%20page%20write)
Article says:
```text
…then it goes to WAL just once compressed, full page write…
```
What is true:
xloginsert.c:620 checks the page LSN against the checkpoint redo boundary. Repeated modifications do not each require another checkpoint-related image. wal_compression separately enables compression. PostgreSQL 18 supports build-dependent lz4 and zstd choices. The default is off.
Charitable reading:
The later once-per-checkpoint explanation qualifies the earlier every-touch wording. Compression assumes the article's later configuration recommendation.
Review: We tested whether the finding implies automatic compression or an image for every modification. It explicitly separates compression and limits the checkpoint explanation. We checked repeated modifications and compression separately. The finding states the checkpoint condition and explicitly identifies compression as optional.
Sources:
- [REL_18_6 · doc/src/sgml/config.sgml:3387-3389](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L3387-L3389)
Excerpt:
```text
When this parameter is on, the <productname>PostgreSQL</productname> server
writes the entire content of each disk page to WAL during the
first modification of that page after a checkpoint.
```
- [REL_18_6 · doc/src/sgml/config.sgml:3468-3474](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L3468-L3474)
Excerpt:
```text
The supported methods are <literal>pglz</literal>,
<literal>lz4</literal> (if <productname>PostgreSQL</productname>
was compiled with <option>--with-lz4</option>) and
<literal>zstd</literal> (if <productname>PostgreSQL</productname>
was compiled with <option>--with-zstd</option>).
The value <literal>on</literal> is a historical spelling of <literal>pglz</literal>.
The default value is <literal>off</literal>.
```
- [REL_18_6 · src/backend/access/transam/xloginsert.c:618-620](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/transam/xloginsert.c#L618-L620)
Excerpt:
```text
XLogRecPtr page_lsn = PageGetLSN(regbuf->page);
needs_backup = (page_lsn <= RedoRecPtr);
```
- [REL_18_6 · src/backend/access/transam/xloginsert.c:685-688](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/transam/xloginsert.c#L685-L688)
Excerpt:
```text
/*
* Try to compress a block image if wal_compression is enabled
*/
if (wal_compression != WAL_COMPRESSION_NONE)
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F5
### F6 · Accurate · Factual · PostgreSQL documents the ZFS full-page-write exception
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=unless%20it%27s%20Aurora%20or%2C%20or%20you%27re%20running%20Postgres%20on%20ZFS)
Article says:
```text
…unless it's Aurora or, or you're running Postgres on ZFS…
```
What is true:
wal.sgml:175 permits disabling full_page_writes when the filesystem prevents partial page writes. It names ZFS as an example. The protection against partial writes supplies the condition.
Charitable reading:
We checked the ZFS exception under its documented protection against partial page writes.
Review: We checked whether the documentation supports the ZFS exception. It does, conditional on preventing partial writes. The finding does not verify Aurora. We checked whether the citation establishes Aurora behavior. The finding limits verification to the documented ZFS exception and its partial-write protection condition.
Sources:
- [REL_18_6 · doc/src/sgml/wal.sgml:175-178](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/wal.sgml#L175-L178)
Excerpt:
```text
restore partially-written pages from WAL. If you have file-system software
that prevents partial page writes (e.g., ZFS), you can turn off
this page imaging by turning off the <xref
linkend="guc-full-page-writes"/> parameter. Battery-Backed Unit
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F6
### F7 · Accurate · Factual · pg_stat_io does not report evictions by relation
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=There%20is%20pg_stat_io.)
Article says:
```text
There is pg_stat_io.
```
What is true:
system_views.sql:1171 defines pg_stat_io by backend type, object, and context. It includes evictions but no relation identifier. pg_statio_all_tables exposes relation-level read and hit counters without an eviction column.
Charitable reading:
We read the spoken all-tables names as pg_stat_all_tables and pg_statio_all_tables.
Review: We looked for relation identifiers and eviction counters in both view definitions. Their columns support the distinction the finding makes. We checked both view projections for relation identifiers and eviction counters. The distinction between aggregate evictions and relation-level reads holds.
Sources:
- [REL_18_6 · doc/src/sgml/monitoring.sgml:2602-2605](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/monitoring.sgml#L2602-L2605)
Excerpt:
```text
The <structname>pg_stat_io</structname> view will contain one row for each
combination of backend type, target I/O object, and I/O context, showing
cluster-wide I/O statistics. Combinations which do not make sense are
omitted.
```
- [REL_18_6 · src/backend/catalog/system_views.sql:1171-1193](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/catalog/system_views.sql#L1171-L1193)
Excerpt:
```text
CREATE VIEW pg_stat_io AS
SELECT
b.backend_type,
b.object,
b.context,
b.reads,
b.read_bytes,
b.read_time,
b.writes,
b.write_bytes,
b.write_time,
b.writebacks,
b.writeback_time,
b.extends,
b.extend_bytes,
b.extend_time,
b.hits,
b.evictions,
b.reuses,
b.fsyncs,
b.fsync_time,
b.stats_reset
FROM pg_stat_get_io() b;
```
- [REL_18_6 · src/backend/catalog/system_views.sql:759-773](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/catalog/system_views.sql#L759-L773)
Excerpt:
```text
CREATE VIEW pg_statio_all_tables AS
SELECT
C.oid AS relid,
N.nspname AS schemaname,
C.relname AS relname,
pg_stat_get_blocks_fetched(C.oid) -
pg_stat_get_blocks_hit(C.oid) AS heap_blks_read,
pg_stat_get_blocks_hit(C.oid) AS heap_blks_hit,
I.idx_blks_read AS idx_blks_read,
I.idx_blks_hit AS idx_blks_hit,
pg_stat_get_blocks_fetched(T.oid) -
pg_stat_get_blocks_hit(T.oid) AS toast_blks_read,
pg_stat_get_blocks_hit(T.oid) AS toast_blks_hit,
X.idx_blks_read AS tidx_blks_read,
X.idx_blks_hit AS tidx_blks_hit
```
- [REL_16_0 · src/backend/catalog/system_views.sql:1125-1125](https://github.com/postgres/postgres/blob/c372fbbd8e911f2412b80a8c39d7079366565d67/src/backend/catalog/system_views.sql#L1125-L1125)
Qualification: Version note: Checked the initial PostgreSQL 16 release.
Excerpt:
```text
CREATE VIEW pg_stat_io AS
```
- [REL_18_6 · src/backend/catalog/system_views.sql:1171-1193](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/catalog/system_views.sql#L1171-L1193)
Excerpt:
```text
CREATE VIEW pg_stat_io AS
SELECT
b.backend_type,
b.object,
b.context,
b.reads,
b.read_bytes,
b.read_time,
b.writes,
b.write_bytes,
b.write_time,
b.writebacks,
b.writeback_time,
b.extends,
b.extend_bytes,
b.extend_time,
b.hits,
b.evictions,
b.reuses,
b.fsyncs,
b.fsync_time,
b.stats_reset
FROM pg_stat_get_io() b;
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F7
### F8 · Accurate · Factual · Changing the UUID default preserves existing values
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=you%20don%27t%20need%20to%20rewrite%20your%20table%20initially)
Article says:
```text
…you don't need to rewrite your table initially…
```
What is true:
ALTER TABLE SET DEFAULT changes subsequent default-generated values. It does not change existing rows. Both versions fit the uuid type. Applications that supply explicit UUID values bypass that default.
Charitable reading:
The migration concerns UUID values generated through an existing column default.
Review: We tested explicit application-generated UUIDs as a counterexample. The finding excludes them and correctly limits the change to default-generated values. We tested the explicit-value exception. The finding correctly limits the change to default-generated values and preserves existing rows.
Sources:
- [REL_18_6 · doc/src/sgml/datatype.sgml:4413-4416](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/datatype.sgml#L4413-L4416)
Excerpt:
```text
<productname>PostgreSQL</productname> provides native support for generating UUIDs
using the UUIDv4 and UUIDv7 algorithms. Alternatively, UUID values can be generated
outside of the database using any algorithm. The data type <type>uuid</type> can be used
to store any UUID, regardless of the origin and the UUID version.
```
- [REL_18_6 · doc/src/sgml/ref/alter_table.sgml:223-227](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/ref/alter_table.sgml#L223-L227)
Excerpt:
```text
These forms set or remove the default value for a column (where
removal is equivalent to setting the default value to NULL). The new
default value will only apply in subsequent <command>INSERT</command>
or <command>UPDATE</command> commands; it does not cause rows already
in the table to change.
```
- [REL_18_6 · doc/src/sgml/ref/insert.sgml:68-70](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/ref/insert.sgml#L68-L70)
Excerpt:
```text
Each column not present in the explicit or implicit column list will be
filled with a default value, either its declared default value
or null if there is none.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F8
### F9 · Accurate · Factual · Verified accurate: “…with TimescaleDB, with UUID version seven.”
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=with%20TimescaleDB%2C%20with%20UUID%20version%20seven.)
Article says:
```text
…with TimescaleDB, with UUID version seven.
```
What is true:
TimescaleDB 2.31.0 converts UUIDv7 timestamps into time coordinates in src/utils.c:237. It constructs UUID range bounds at src/utils.c:437. These checks establish conversion support. They do not establish which UUID predicates prune chunks.
Review: We checked both UUID conversion branches and PostgreSQL's partition-key comparison. These establish timestamp conversion and range construction. They do not establish TimescaleDB's pruning behavior.
Sources:
- [[email protected] · src/utils.c:237-248](https://github.com/timescale/timescaledb/blob/4fa2a7c6b579171a1a8966fd87a0d4189ebab43b/src/utils.c#L237-L248)
Qualification: Version note: The article names no TimescaleDB release.
Excerpt:
```text
if (!ts_uuid_v7_extract_unixtime(DatumGetUUIDP(time_val), &unixtime_ms, NULL))
{
ereport(ERROR,
errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("%s is not a version 7 UUID",
DatumGetCString(DirectFunctionCall1(uuid_out, time_val))),
errdetail(
"UUID \"time\" partitioning columns only support version 7 UUIDs."));
}
/* Convert to microseconds */
return unixtime_ms * 1000;
```
- [[email protected] · src/utils.c:431-438](https://github.com/timescale/timescaledb/blob/4fa2a7c6b579171a1a8966fd87a0d4189ebab43b/src/utils.c#L431-L438)
Qualification: Version note: The article names no TimescaleDB release.
Excerpt:
```text
/*
* Convert the internal unixtime in ms to a UUID with the
* non-timestamp bits set to zero. We do not set the version
* either, because for ranges we only care about the prefix in
* order to divide the whole UUID space into a set of slices.
*/
const pg_uuid_t *uuid = ts_create_uuid_v7_from_unixtime_us(value, true, false);
return UUIDPGetDatum(uuid);
```
- [REL_18_6 · src/backend/partitioning/partprune.c:1951-1955](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/partitioning/partprune.c#L1951-L1955)
Excerpt:
```text
/* check if the clause matches this partition key */
if (equal(leftop, partkey))
expr = rightop;
else if (equal(rightop, partkey))
{
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F9
### F10 · Accurate · Factual · Dropping partitions implements partition-based retention
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=you%20can%20start%20dropping%20old%20partitions.)
Article says:
```text
…you can start dropping old partitions.
```
What is true:
PostgreSQL 18 documents dropping an old partition to remove its rows without individual row deletions. ddl.sgml:4326 also records the parent table's ACCESS EXCLUSIVE lock requirement.
Charitable reading:
Old partitions contain the rows selected by the application's retention rule.
Review: We checked whether the finding overlooks locking costs. It names the parent ACCESS EXCLUSIVE lock and correctly describes partition removal. We checked whether dropping partitions requires individual deletions. Documentation confirms the removal mechanism and parent-table lock.
Sources:
- [REL_18_6 · doc/src/sgml/ddl.sgml:4324-4327](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/ddl.sgml#L4324-L4327)
Excerpt:
```text
This can very quickly delete millions of records because it doesn't have
to individually delete every record. Note however that the above command
requires taking an <literal>ACCESS EXCLUSIVE</literal> lock on the parent
table.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F10
### F11 · Accurate · Factual · Verified accurate: “…index B3 keeps, raw values in leaf nodes…”
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=index%20B3%20keeps%2C%20raw%20values%20in%20leaf%20nodes)
Article says:
```text
…index B3 keeps, raw values in leaf nodes…
```
What is true:
src/backend/access/nbtree/nbtree.c:212 constructs an index tuple from indexed values. It attaches the heap tuple identifier before insertion. This range does not establish UUID storage overhead.
Review: We checked btinsert(). It constructs a tuple from indexed values and attaches the heap identifier. This caller does not establish storage size.
Sources:
- [REL_18_6 · src/backend/access/nbtree/nbtree.c:212-215](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/nbtree/nbtree.c#L212-L215)
Excerpt:
```text
itup = index_form_tuple(RelationGetDescr(rel), values, isnull);
itup->t_tid = *ht_ctid;
result = _bt_doinsert(rel, itup, checkUnique, indexUnchanged, heapRel);
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F11
### F12 · Accurate · Factual · Random index access can cause replacement and additional I/O
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=it%20kicks%20the%20table%20out%20of%20memory.)
Article says:
```text
…it kicks the table out of memory.
```
What is true:
bufmgr.c:2079 obtains replacement buffers for missing pages. Dirty victims require writes. Random UUID destinations spread access across the index. PostgreSQL also relies on the operating system cache. Actual eviction rates depend on the workload and available memory.
Charitable reading:
The article describes cache pressure under a growing random-insert workload, not a fixed universal size threshold.
Review: We tested a universal memory threshold and inevitable table eviction. The finding asserts neither and limits verification to replacement and dirty-buffer writes. We checked whether buffer replacement proves the measured slowdown. The finding verifies only the mechanism and preserves workload and operating-system-cache qualifications.
Sources:
- [REL_18_6 · src/backend/utils/adt/uuid.c:223-223](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/adt/uuid.c#L223-L223)
Excerpt:
```text
return memcmp(arg1->data, arg2->data, UUID_LEN);
```
- [REL_18_6 · src/backend/storage/buffer/bufmgr.c:2074-2079](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/buffer/bufmgr.c#L2074-L2079)
Excerpt:
```text
/*
* Acquire a victim buffer. Somebody else might try to do the same, we
* don't hold any conflicting locks. If so we'll have to undo our work
* later.
*/
victim_buffer = GetVictimBuffer(strategy, io_context);
```
- [REL_18_6 · src/backend/storage/buffer/bufmgr.c:2388-2395](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/buffer/bufmgr.c#L2388-L2395)
Excerpt:
```text
/*
* If the buffer was dirty, try to write it out. There is a race
* condition here, in that someone might dirty it after we released the
* buffer header lock above, or even while we are writing it out (since
* our share-lock won't prevent hint-bit updates). We will recheck the
* dirty bit after re-locking the buffer header.
*/
if (buf_state & BM_DIRTY)
```
- [REL_18_6 · src/backend/storage/buffer/bufmgr.c:2452-2453](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/buffer/bufmgr.c#L2452-L2453)
Excerpt:
```text
/* OK, do the I/O */
FlushBuffer(buf_hdr, NULL, IOOBJECT_RELATION, io_context);
```
- [REL_18_6 · doc/src/sgml/config.sgml:1754-1755](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L1754-L1755)
Excerpt:
```text
because <productname>PostgreSQL</productname> also relies on the
operating system cache, it is unlikely that an allocation of more than
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F12
### F13 · Accurate · Factual · Vacuum contributes to WAL volume
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=including%20autovacuum)
Article says:
```text
…including autovacuum…
```
What is true:
vacuumlazy.c:2894 marks a changed buffer dirty. Its cleanup path calls log_heap_prune_and_freeze() when the relation requires WAL. Total WAL therefore includes work beyond the benchmark's inserts.
Charitable reading:
The claim concerns vacuum operations that modify WAL-logged relations.
Review: We checked the WAL condition directly. The code confirms the claim. E-46's continuation indentation needs correction, but its substantive evidence holds. We checked the cleanup path directly. It marks the buffer dirty and conditionally logs pruning. E-46 miscopies indentation, but the code confirms the claim.
Sources:
- [REL_18_6 · src/backend/access/heap/vacuumlazy.c:2894-2902](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/heap/vacuumlazy.c#L2894-L2902)
Excerpt:
```text
MarkBufferDirty(buffer);
/* XLOG stuff */
if (RelationNeedsWAL(vacrel->rel))
{
log_heap_prune_and_freeze(vacrel->rel, buffer,
InvalidTransactionId,
false, /* no cleanup lock required */
PRUNE_VACUUM_CLEANUP,
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F13
### F15 · Accurate · Factual · int8 is a 64-bit signed integer
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=It%27s%20a%2064%2Dbit%20integer)
Article says:
```text
It's a 64-bit integer…
```
What is true:
PostgreSQL 18 documents bigint as eight bytes. Its signed range spans −2^63 through 2^63−1.
Charitable reading:
integer eight refers to PostgreSQL's int8 alias for bigint.
Review: We checked signedness and range as well as width. The documented limits match a signed 64-bit integer. We checked the documented byte width and signed endpoints. Both match a 64-bit signed integer.
Sources:
- [REL_18_6 · doc/src/sgml/datatype.sgml:382-385](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/datatype.sgml#L382-L385)
Excerpt:
```text
<entry><type>bigint</type></entry>
<entry>8 bytes</entry>
<entry>large-range integer</entry>
<entry>-9223372036854775808 to +9223372036854775807</entry>
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F15
### F16 · Accurate · Factual · PostgreSQL 18 includes native UUIDv7 generation
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=it%20was%20finalized%20in%2018.)
Article says:
```text
…it was finalized in 18.
```
What is true:
PostgreSQL 18.0 registers uuidv7() in src/include/catalog/pg_proc.dat:9493. PostgreSQL 18.6 release documentation lists timestamp-ordered UUID generation.
Charitable reading:
The statement concerns native UUIDv7 generation, not the UUID storage type.
Review: We checked the initial PostgreSQL 18 catalog, avoiding reliance solely on later documentation. It registers uuidv7(). We checked the initial PostgreSQL 18 catalog and release documentation. Both establish native uuidv7() generation.
Sources:
- [REL_18_0 · src/include/catalog/pg_proc.dat:9493-9493](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/include/catalog/pg_proc.dat#L9493-L9493)
Qualification: Version note: Checked the initial PostgreSQL 18 release.
Excerpt:
```text
proname => 'uuidv7', provolatile => 'v', prorettype => 'uuid',
```
- [REL_18_6 · doc/src/sgml/release-18.sgml:8774-8797](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/release-18.sgml#L8774-L8797)
Excerpt:
```text
<link linkend="func_uuid_gen_table"><function>uuidv7()</function></link>
function for generating timestamp-ordered
<link linkend="datatype-uuid">UUIDs</link>.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F16
### F17 · Accurate · Factual · UUID extraction functions exist in PostgreSQL 17
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=some%20functions%2C%20went%20to%2017)
Article says:
```text
…some functions, went to 17…
```
What is true:
PostgreSQL 17.0 registers uuid_extract_timestamp() and uuid_extract_version() in src/include/catalog/pg_proc.dat:9193. Native UUIDv7 generation arrives separately in PostgreSQL 18.
Charitable reading:
The earlier functions are UUID extraction functions. The statement does not place uuidv7() in PostgreSQL 17.
Review: We tested whether this conflates extraction with UUIDv7 generation. PostgreSQL 17 registers both extraction functions, and the finding keeps generation separate. We tested whether the finding confuses extraction with UUIDv7 generation. It correctly separates PostgreSQL 17 extraction functions from PostgreSQL 18 generation.
Sources:
- [REL_17_0 · src/include/catalog/pg_proc.dat:9191-9202](https://github.com/postgres/postgres/blob/d7ec59a63d745ba74fba0e280bbf85dc6d1caa3e/src/include/catalog/pg_proc.dat#L9191-L9202)
Qualification: Version note: Checked the initial PostgreSQL 17 release.
Excerpt:
```text
{ oid => '6342', descr => 'extract timestamp from UUID',
proname => 'uuid_extract_timestamp', proleakproof => 't',
prorettype => 'timestamptz', proargtypes => 'uuid',
prosrc => 'uuid_extract_timestamp' },
{ oid => '6343', descr => 'extract version from RFC 4122 UUID',
proname => 'uuid_extract_version', proleakproof => 't', prorettype => 'int2',
proargtypes => 'uuid', prosrc => 'uuid_extract_version' },
```
- [REL_17_11 · doc/src/sgml/func.sgml:14180-14218](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/func.sgml#L14180-L14218)
Qualification: Version note: PostgreSQL 17 timestamp extraction supports UUIDv1.
Excerpt:
```text
version 1. For other versions, this function returns null. Note that the
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F17
### F18 · Accurate · Factual · pg_stat_io has no relation identifier
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=it%27s%20impossible%20to%20see%20numbers%20by%20relation%20in%20there.)
Article says:
```text
…it's impossible to see numbers by relation in there.
```
What is true:
PostgreSQL 18.6 groups pg_stat_io statistics by backend_type, object, and context. Its definition at src/backend/catalog/system_views.sql:1171 contains no relation identifier.
Charitable reading:
The statement concerns pg_stat_io. It does not deny that other views report per-relation reads and hits.
Review: We inspected every pg_stat_io output column. None identifies a relation. This duplicates part of F7 but remains correct. We inspected the complete view projection for a relation identifier. None exists. The finding does not extend that limitation to other views.
Sources:
- [REL_18_6 · src/backend/catalog/system_views.sql:1171-1193](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/catalog/system_views.sql#L1171-L1193)
Excerpt:
```text
CREATE VIEW pg_stat_io AS
SELECT
b.backend_type,
b.object,
b.context,
b.reads,
b.read_bytes,
b.read_time,
b.writes,
b.write_bytes,
b.write_time,
b.writebacks,
b.writeback_time,
b.extends,
b.extend_bytes,
b.extend_time,
b.hits,
b.evictions,
b.reuses,
b.fsyncs,
b.fsync_time,
b.stats_reset
FROM pg_stat_get_io() b;
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F18
### F19 · Accurate · Factual · UUIDv7 exposes an embedded timestamp
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=your%20value%2C%20primary%20key%20value%20starts%20revealing%20timestamp.)
Article says:
```text
…your value, primary key value starts revealing timestamp.
```
What is true:
UUIDv7 contains a 48-bit Unix timestamp in milliseconds. PostgreSQL 18 supports extracting that timestamp through uuid_extract_timestamp().
Charitable reading:
The embedded timestamp describes identifier generation. It need not equal a row's insertion or commit time.
Review: We tested whether the finding confuses the embedded timestamp with insertion time. It claims only the embedded field and extraction capability. We checked timestamp width and extraction support. The finding correctly avoids equating the embedded timestamp with insertion or commit time.
Sources:
- [REL_18_6 · src/backend/utils/adt/uuid.c:555-665](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/adt/uuid.c#L555-L665)
Excerpt:
```text
* UUID version 7 consists of a Unix timestamp in milliseconds (48 bits) and
```
- [REL_18_6 · doc/src/sgml/func.sgml:14429-14552](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/func.sgml#L14429-L14552)
Excerpt:
```text
version 1 or 7. For other versions, this function returns null.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F19
### F20 · Accurate · Factual · Existing UUIDv4 values have no extractable timestamp
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=all%20of%20those%20earlier%20ones%20cannot%20be%20treated%20as%20UUIDv7s)
Article says:
```text
…all of those earlier ones cannot be treated as UUIDv7s…
```
What is true:
PostgreSQL 18 returns NULL when uuid_extract_timestamp() receives UUIDv4. src/backend/utils/adt/uuid.c:749 checks the version before extracting timestamps.
Charitable reading:
Earlier values means existing UUIDv4 identifiers. Changing a default does not change those values.
Review: We traced version dispatch and the fallback return. UUIDv4 reaches NULL rather than timestamp extraction. We checked the version branches before the NULL fallback. Existing UUIDv4 values have no timestamp through this extraction function.
Sources:
- [REL_18_6 · src/backend/utils/adt/uuid.c:739-795](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/adt/uuid.c#L739-L795)
Qualification: Version note: The function handles versions 1 and 7 before this fallback.
Excerpt:
```text
/* not a timestamp-containing UUID version */
PG_RETURN_NULL();
```
- [REL_18_6 · doc/src/sgml/func.sgml:14429-14552](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/func.sgml#L14429-L14552)
Excerpt:
```text
version 1 or 7. For other versions, this function returns null.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F20
### F21 · Accurate · Factual · UUIDv7 does not guarantee ordering across backends
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=if%20you%20are%20within%20like,Yeah%2C%20order%20is%20not%20guaranteed.)
Article says:
```text
…if you are within like millisecond, yes, some... Yeah, order is not guaranteed.
```
What is true:
PostgreSQL 18 guarantees ascending generation timestamps within one backend. src/backend/utils/adt/uuid.c:569 keeps previous_ns in local static state. Separate backends do not share that ordering state.
Charitable reading:
The statement concerns UUIDv7 ordering across generators. PostgreSQL provides a stronger guarantee within one backend.
Review: We tested PostgreSQL's stronger monotonicity guarantee as a counterexample. Its previous timestamp is backend-local, which the finding explicitly acknowledges. We challenged the ordering statement with PostgreSQL's backend-local monotonicity guarantee. The finding already distinguishes that guarantee from ordering across generators.
Sources:
- [REL_18_6 · src/backend/utils/adt/uuid.c:555-665](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/adt/uuid.c#L555-L665)
Excerpt:
```text
* The returned timestamp is ensured to be at least SUBMS_MINIMAL_STEP greater
* than the previous returned timestamp (on this backend).
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F21
### F22 · Accurate · Factual · PostgreSQL 17 can store externally generated UUIDv7 values
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=it%20was%20possible%20to%20use%2C%20UUID%20version%207%20even%20before)
Article says:
```text
…it was possible to use, UUID version 7 even before…
```
What is true:
PostgreSQL 17 UUID input does not restrict the UUID version. src/backend/utils/adt/uuid.c:145 copies binary UUID bytes directly into the UUID value.
Charitable reading:
Using UUIDv7 before PostgreSQL 18 means storing externally generated values, not calling a native uuidv7() function.
Review: We checked PostgreSQL 17's binary input for a version restriction. It copies UUID bytes without rejecting version 7. We checked binary input for version validation. PostgreSQL 17 copies UUID bytes without restricting the version, which supports storing externally generated UUIDv7 values.
Sources:
- [REL_17_11 · src/backend/utils/adt/uuid.c:120-176](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/utils/adt/uuid.c#L120-L176)
Qualification: Version note: Binary UUID input copies the bytes without checking the UUID version.
Excerpt:
```text
uuid = (pg_uuid_t *) palloc(UUID_LEN);
memcpy(uuid->data, pq_getmsgbytes(buffer, UUID_LEN), UUID_LEN);
PG_RETURN_POINTER(uuid);
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F22
### F24 · Accurate · Factual · The 8-byte int8 and 16-byte UUID comparison is correct
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=It%27s%208%20bytes%20versus%2016,in%20any%20of%20UUID%20values.)
Article says:
```text
It's 8 bytes versus 16 bytes in any of UUID values.
```
What is true:
An int8 value occupies 8 bytes. A UUID value occupies 16 bytes. PostgreSQL records these widths in src/include/catalog/pg_type.dat:57 and src/include/utils/uuid.h:18.
Charitable reading:
The comparison concerns value widths. It does not claim complete index entries occupy only 8 or 16 bytes.
Review: We tested whether the comparison includes full index entries. It concerns value widths, which match both source definitions. We checked the two value widths independently. The finding correctly avoids treating value width as total tuple size.
Sources:
- [REL_18_6 · src/include/utils/uuid.h:18-18](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/include/utils/uuid.h#L18-L18)
Excerpt:
```text
#define UUID_LEN 16
```
- [REL_18_6 · src/include/catalog/pg_type.dat:57-57](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/include/catalog/pg_type.dat#L57-L57)
Excerpt:
```text
typname => 'int8', typlen => '8', typbyval => 'FLOAT8PASSBYVAL',
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F24
### F25 · Accurate · Factual · The default PostgreSQL page occupies 8 KiB
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=page%20is%208%20kibibytes)
Article says:
```text
…page is 8 kibibytes…
```
What is true:
The default page size is 8 KiB, or 8,192 bytes. PostgreSQL selects blocksize 8 at configure.ac:255 and assigns BLCKSZ=8192 at line 260.
Charitable reading:
The speaker describes the default PostgreSQL build. Custom page sizes remain possible.
Review: We considered custom block sizes. The finding explicitly describes the default, whose configuration maps to 8,192 bytes. We checked the build default and its byte conversion. The finding explicitly limits 8 KiB to the default page size.
Sources:
- [REL_18_6 · configure.ac:255-255](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/configure.ac#L255-L255)
Excerpt:
```text
[blocksize=8])
```
- [REL_18_6 · configure.ac:260-260](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/configure.ac#L260-L260)
Excerpt:
```text
8) BLCKSZ=8192;;
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F25
### F26 · Accurate · Factual · The approximate 24-byte heap-header estimate reasonably includes padding
Location: excerpt · section “UUIDv4 vs UUIDv7” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=24%20bytes%20tuple%20header)
Article says:
```text
…24 bytes tuple header…
```
What is true:
The fixed heap header occupies 23 bytes. Alignment rounds the minimum tuple header to 24 bytes on typical builds. src/include/access/htup_details.h:616 applies MAXALIGN to SizeofHeapTupleHeader.
Charitable reading:
The approximate 24-byte estimate includes alignment padding around the fixed heap header.
Review: We checked whether the passage describes an index header. Its narrow-table example permits the heap-header reading, and the finding qualifies alignment and typical builds. We tested the literal 23-byte header objection. The finding correctly explains alignment to 24 bytes on typical builds.
Sources:
- [REL_18_6 · src/include/access/htup_details.h:175-175](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/include/access/htup_details.h#L175-L175)
Excerpt:
```text
/* ^ - 23 bytes - ^ */
```
- [REL_18_6 · src/include/access/htup_details.h:616-616](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/include/access/htup_details.h#L616-L616)
Excerpt:
```text
#define MinHeapTupleSize MAXALIGN(SizeofHeapTupleHeader)
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F26
### F27 · Accurate · Factual · The illustrative Aurora costs support a rounded 10× ratio
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=it%27s%20a%2010X%2C%20meaning%20your,Aurora%20go%20from%20%2455%2C%20roughly)
Article says:
```text
…it's a 10X, meaning your IO cost in Aurora go from $55, roughly…
```
What is true:
The illustrative costs differ by 9.82× (derived: $540 / $55). That agrees with the rounded 10× description. The arithmetic does not establish either dollar estimate.
Charitable reading:
The speakers explicitly describe the dollar figures as an illustrative estimate. The 10× wording allows rounding.
Explanation: Checked for internal consistency: the evidence is the article itself.
Review: We recalculated $540 divided by $55 as 9.82. Rounded 10× is correct. The finding expressly leaves the dollar estimates unverified. We recomputed $540 divided by $55 as 9.818. Rounding supports 10×. The finding explicitly declines to validate either dollar estimate.
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F27
## Notes (not graded) (3)
### F1 · Note · · Note: “…I can get rid of that…”
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=I%20can%20get%20rid%20of%20that)
Article says:
```text
…I can get rid of that…
```
What is true:
UUIDv7 can replace created_at when generation time meets the application's requirements. PostgreSQL's uuid_extract_timestamp() returns milliseconds, and its documentation warns that extracted time depends on the generator. Keep a separate timestamp when its meaning or precision differs.
So what:
Keep created_at when it records row insertion, an application event, or sub-millisecond time.
Explanation: Not graded: no reader would act differently on it.
Review: The discussion concerns replacing a column used for creation-time sorting. It does not promise preservation of arbitrary event timestamps. The precision caveat survives, but the graded charge assumes requirements the article never states. The surrounding discussion proposes replacing created_at for sorting. It does not establish insertion-time semantics or sub-millisecond requirements. The source supports a caveat, but the stated silent-wrong-result consequence exceeds this example.
Sources:
- [REL_18_6 · doc/src/sgml/func.sgml:14521-14525](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/func.sgml#L14521-L14525)
Excerpt:
```text
Extracts a <type>timestamp with time zone</type> from a UUID of
version 1 or 7. For other versions, this function returns null.
Note that the extracted timestamp is not necessarily exactly equal
to the time the UUID was generated; this depends on the
implementation that generated the UUID.
```
- [REL_18_6 · src/backend/utils/adt/uuid.c:678-679](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/adt/uuid.c#L678-L679)
Excerpt:
```text
int64 ns = get_real_time_ns_ascending();
pg_uuid_t *uuid = generate_uuidv7(ns / NS_PER_MS, ns % NS_PER_MS);
```
- [REL_18_6 · src/backend/utils/adt/uuid.c:788-791](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/adt/uuid.c#L788-L791)
Excerpt:
```text
/* convert ms to us, then adjust */
ts = (TimestampTz) (tms * US_PER_MS) - PG_UNIX_EPOCH_OFFSET_US;
PG_RETURN_TIMESTAMPTZ(ts);
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F1
### F2 · Note · · Ordered insertion still searches and updates other B-tree pages
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=It%20only%20touches%20the%20last%20page%2C%20the%20last%20one.)
Article says:
```text
It only touches the last page, the last one.
```
What is true:
nbtinsert.c:305 disables the fast path when the leaf lacks space. Splits update a parent through _bt_insert_parent(). The article's locality explanation holds. Its one-page wording describes the common path rather than every insertion.
Charitable reading:
The description summarizes the common leaf-page access pattern. The next sentence acknowledges leaf splits.
Explanation: Not graded: no reader would act differently on it.
Review: We tested the common-path reading and the adjacent split qualification. The finding already accepts both and remains an ungraded note. We tested the charitable reading as a leaf-locality explanation. The next sentence acknowledges splits. The note correctly preserves that explanation while documenting parent updates.
Sources:
- [REL_18_6 · src/backend/access/nbtree/nbtinsert.c:305-309](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/nbtree/nbtinsert.c#L305-L309)
Excerpt:
```text
* Note that we avoid applying the optimization when there is insufficient
* space on the rightmost page to fit caller's new item. This is necessary
* because we'll need to return a real descent stack when a page split is
* expected (actually, caller can cope with a leaf page split that uses a NULL
* stack, but that's very slow and so must be avoided). Note also that the
```
- [REL_18_6 · src/backend/access/nbtree/nbtinsert.c:1241-1241](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/nbtree/nbtinsert.c#L1241-L1241)
Excerpt:
```text
_bt_insert_parent(rel, heaprel, buf, rbuf, stack, isroot, isonly);
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F2
### F14 · Note · · The digit after the second dash identifies the UUID version
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/uuidv4-vs-uuidv7/transcript#:~:text=right%20after%20the%20second%20dash%2C,says%207%2C%204%2C%208%2C%209)
Article says:
```text
…right after the second dash, it either says 7, 4, 8, 9…
```
What is true:
uuid.c:532 stores the version in byte 6. Byte 8 stores the variant bits. PostgreSQL's documentation describes eight standard UUID versions. The mentioned digit 9 is not another standardized version in that list.
Charitable reading:
The speaker correctly identifies the position used to distinguish UUIDv4 from UUIDv7.
Explanation: Not graded: no reader would act differently on it.
Review: We checked whether the speaker's field location remains useful despite loose terminology. It does, and the finding appropriately remains a note. We checked version and variant placement separately. The note correctly preserves the useful version-digit identification and avoids grading the terminology slip.
Sources:
- [REL_18_6 · src/backend/utils/adt/uuid.c:531-535](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/adt/uuid.c#L531-L535)
Excerpt:
```text
/* set version field, top four bits */
uuid->data[6] = (uuid->data[6] & 0x0f) | (version << 4);
/* set variant field, top two bits are 1, 0 */
uuid->data[8] = (uuid->data[8] & 0x3f) | 0x80;
```
- [REL_18_6 · doc/src/sgml/datatype.sgml:4411-4412](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/datatype.sgml#L4411-L4412)
Excerpt:
```text
RFC 9562 defines 8 different UUID versions. Each version has specific requirements
for generating new UUID values, and each version provides distinct benefits and drawbacks.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f#F14
## Withdrawn findings (0)
None.
## Section checks
- UUIDv7 history · A · 4 verified-accurate · 100% of claims (4 of 4, plus 3 that need data we do not have)
- Key representation · A · 2 verified-accurate · 100% of claims (5 of 5)
- Memory threshold · A · 2 verified-accurate · 85% of claims (6 of 7, plus 6 that need data we do not have)
- B-tree access · A · none · 69% of claims (9 of 13, plus 1 that need data we do not have)
- WAL and checkpoints · A · 5 verified-accurate · 92% of claims (13 of 14, plus 7 that need data we do not have)
- Eviction statistics · A · 2 verified-accurate · 80% of claims (4 of 5, plus 1 that need data we do not have)
- Migration and disclosure · A · 2 verified-accurate · 60% of claims (3 of 5, plus 1 that need data we do not have)
- Partitioning and retention · A · 2 verified-accurate · 71% of claims (5 of 7, plus 1 that need data we do not have)
- Timestamp columns · A · none · 75% of claims (3 of 4, plus 3 that need data we do not have)
- Aurora cost estimate · A · 1 verified-accurate · 1 checked · 2 need data we do not have
- Key width and Snowflake · B+ · 1 inaccuracy · 1 verified-accurate · 33% of claims (2 of 6, plus 3 that need data we do not have) provisional
- Incremental migration · A · 2 verified-accurate · 100% of claims (7 of 7, plus 1 that need data we do not have)
## Claim coverage
- Episode: no checkable claims; not counted: 7 not a claim
- UUIDv7 history: 4 of 4 Postgres claims checked, plus 3 that need data we do not have; not counted: 5 product or opinion
- Key ordering: 1 of 4 Postgres claims checked; not counted: 1 product or opinion; not checked: 3 for other reasons
- Benchmark motivation: 4 of 4 Postgres claims checked, plus 1 that need data we do not have; not counted: 3 product or opinion, 1 not a claim
- Benchmark method: 2 claims are the author's own account; nothing checkable; not counted: 11 product or opinion, 1 duplicate
- Hardware confound: 3 claims are the author's own account; nothing checkable; not counted: 10 product or opinion, 2 duplicate, 2 not a claim
- Key representation: 5 of 5 Postgres claims checked
- Memory threshold: 6 of 7 Postgres claims checked, plus 6 that need data we do not have; not counted: 1 product or opinion, 2 duplicate, 1 not a claim; not checked: 1 for other reasons
- B-tree access: 9 of 13 Postgres claims checked, plus 1 that need data we do not have; not counted: 2 duplicate; not checked: 4 for other reasons
- WAL and checkpoints: 13 of 14 Postgres claims checked, plus 7 that need data we do not have; not counted: 1 not a claim; not checked: 1 for other reasons
- Aurora I/O: 3 of 3 Postgres claims checked, plus 6 that need data we do not have; not counted: 4 product or opinion, 1 not a claim
- Aurora experiment: 0 of 1 Postgres claims checked, plus 6 that need data we do not have; not counted: 1 product or opinion, 1 duplicate; not checked: 1 for other reasons
- Eviction statistics: 4 of 5 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 product or opinion, 1 not a claim; not checked: 1 for other reasons
- Migration and disclosure: 3 of 5 Postgres claims checked, plus 1 that need data we do not have; not counted: 4 product or opinion; not checked: 2 for other reasons
- Partitioning and retention: 5 of 7 Postgres claims checked, plus 1 that need data we do not have; not checked: 2 for other reasons
- Timestamp columns: 3 of 4 Postgres claims checked, plus 3 that need data we do not have; not counted: 2 product or opinion, 1 not a claim; not checked: 1 for other reasons
- Timestamp extraction: 3 of 3 Postgres claims checked; not counted: 4 product or opinion
- Aurora cost estimate: 1 checked, plus 2 that need data we do not have; not counted: 2 duplicate, 1 not a claim
- Key width and Snowflake: 2 of 6 Postgres claims checked, plus 3 that need data we do not have; not counted: 9 product or opinion, 2 not a claim; not checked: 4 for other reasons
- Tool roadmap: no checkable claims; not counted: 7 product or opinion, 1 not a claim
- Incremental migration: 7 of 7 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 product or opinion, 5 duplicate, 1 not a claim
- Closing: no checkable claims; not counted: 1 product or opinion, 2 not a claim
## What we did not check
- We did not reproduce the displayed insert rates, WAL volumes, or Aurora cost estimates.
- We did not check Aurora's checkpoint, full-page-write, cloning, or billing behavior.
- We did not verify the proposed SQL and PL/pgSQL Snowflake generators or the legacy-UUID partition layout.
- We did not verify the speakers' production tables, benchmark hardware, or workload-specific diagnostic recommendations.
- We could not retrieve the linked benchmark brief, RFC 9562, Aurora pricing, or the cited Snowflake and UUID articles.
- We did not reproduce the benchmark measurements or verify the hardware comparison.
- We did not verify the Aurora storage claims, cost estimate, cloning support, or customer incident.
- We did not verify the patch's development history or the claimed RFC-related delay.
- We did not read the charts shown in the episode video.
- We did not complete the partitioning, retention, timestamp-column, or index-width checks.
- We did not establish changes after the episode's October 30, 2026 publication.
- We did not inspect the charts referenced at 15:33 or the linked benchmark results.
- We did not reproduce the 30–40% insert-rate decrease or validate the Aurora dollar estimates.
- We did not validate the page-touch hypothesis or the estimate that checkpoints explain half the slowdown.
- The transcript contains no sample query outputs for checking repeated identifiers, row ordering, or demonstration results.
- Section “Key width and Snowflake”: we checked 2 of 9 checkable claims.
- Section “Key ordering”: we checked 1 of 4 checkable claims.
- Section “Aurora experiment”: we checked 0 of 7 checkable claims.
- We could not decide whether the evidence backs the central claim.
- We could not decide whether readers can obtain the benchmark environment.
- We could not decide whether the published benchmark details are complete.
- We could not decide whether the article depends on finding F23.
- No fenced or preformatted code blocks were identified. Inline snippets and other setup instructions were not checked for syntax.
## Notes
- Central claim not verified. We checked UUIDv7 mechanisms, but did not validate the PostgreSQL 18 benchmark comparison or its I/O cost estimates.
- We did not check everything in this article. What we did not check is listed below, in the words we recorded at the time. None of it moved the letter. We never charge our own limits to the article.
- Average of 5 axes: 3.46 · benchmark not reproducible, one step off (no hardware) · result B
- Some explanatory text is not shown in this edition; the grade and findings are complete.
- Some checks did not happen for this edition, and each one we know of is listed above.
- Checked against: github.com/postgres/postgres REL_18_6 at commit 724edf9bde9d356724ad384a2e196edc3c9f80f7 (pinned target); github.com/timescale/timescaledb 2.31.0 at commit 4fa2a7c6b579171a1a8966fd87a0d4189ebab43b (pinned target); https://postgres.fm/ (fetched 2026-10-31T14:32:21.012570Z); https://postgres.fm/episodes (fetched 2026-10-31T14:32:22.160250Z); https://postgres.fm/episodes/uuidv4-vs-uuidv7 (fetched 2026-10-31T14:32:30.188737Z); https://postgres.fm/people (fetched 2026-10-31T14:32:23.385997Z).
- Article captured 2026-10-31T14:32:01.952695Z · SHA-256 185751f101357fdb06014f184a286dcadf44d5810280d90a038e2e386aa43627 · Text extracted from the article's HTML.
- Policy SHA-256 944d30cda5edc4260acbcd6c4e853a2c247b60a61b1cf5d62ab8e6873751feca · Grading rules SHA-256 6fb334e79d6b9e7ed81d3238cc10d9de602ff87ed65ff2fa781f53bac5798765.
- We did not reproduce the displayed insert rates, WAL volumes, or 30–40% throughput decrease.
- We did not inspect the charts referenced at 15:33 or retrieve the linked benchmark brief.
- We did not verify the benchmark hardware comparison or the estimate that checkpoints explain half the slowdown.
- We did not validate Aurora pricing, billing, checkpoint behavior, full-page writes, cloning support, or the customer incident.
- We could not retrieve RFC 9562 or the cited Snowflake and UUID articles.
- We did not verify the UUIDv7 patch's development history or the claimed RFC-related delay.
- We did not test the proposed SQL and PL/pgSQL Snowflake generators, legacy-UUID partition layout, or workload-specific diagnostic recommendations.
- The transcript contains no fenced code blocks or sample query outputs. We did not check inline setup instructions for syntax or runtime behavior.
- We checked TimescaleDB partitioning against version 2.31.0. The episode specifies no TimescaleDB version.
- We cannot determine whether the 18-byte discrepancy originated in speech or transcription.
- We did not establish changes after October 30, 2026.
- The article gives October 30, 2026 without a publication time. We list that date at midnight UTC.
- article target version: bound to the most-cited major; also named 17 (1×), 16 (1×)
- source: timescaledb names no release in the article, so it was read at 2.31.0, the latest at fetch time
- review: the findings were written by one model and reviewed independently by a different model.
- 4 passages in this edition fell short of our own plain-English rules.
- Built from the article text captured above, 2 pinned source trees, and 4 fetched pages.
- 24 survived · 3 weakened · 0 withdrawn.
## Edition changes
- F1 · weakened.
- F2 · recalibrated.
- F3 · recalibrated.
- F4 · recalibrated.
- F5 · recalibrated.
- F6 · recalibrated.
- F7 · recalibrated.
- F8 · recalibrated.
- F9 · weakened.
- F10 · recalibrated.
- F11 · weakened.
- F12 · recalibrated.
- F13 · recalibrated.
- F14 · recalibrated.
- F15 · recalibrated.
- F16 · recalibrated.
- F17 · recalibrated.
- F18 · recalibrated.
- F19 · recalibrated.
- F20 · recalibrated.
- F21 · recalibrated.
- F22 · recalibrated.
- F23 · recalibrated.
- F24 · recalibrated.
- F25 · recalibrated.
- F26 · recalibrated.
- F27 · recalibrated.
## Revision history
- [Revision 1](https://pgtrue.postgres.ai/shared/brief/e950ec5c-a9cb-4d33-b98d-e2afb42e7b2f?v=2) · this page · 2026-10-31 14:32 UTC · B · audited with v1.1.4
Article as first submitted. 23 accurate · 1 wrong · 0 caveats.
ElephantSeal: B. Open: the benchmark cannot yet be rerun from what is published; central claim not checked.
Changes: First audit. Open: F23 “…it's 18 bytes…” (false).