model-writtenrun 7895 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Benoit Lobréau reported that pg_shmem_allocations returns an offset for unused memory despite documentation saying it is NULL, demonstrating the discrepancy with a query in #1.
- Kyotaro Horiguchi confirmed the discrepancy and supplied #2, correcting the claim and explaining why offsets are unavailable for anonymous allocations.
- Michael Paquier favored simply removing the incorrect words in #3, while Kyotaro questioned consistency with the more verbose allocated_size description in #4.
- Benoit proposed a shorter explanation in #5 and attached it in #6; Michael accepted retaining that explanation and described Benoit's version as a simpler equivalent in #7.
- Michael committed #6 unchanged as bce641a2af, with a backpatch to PostgreSQL 13, and confirmed application in #8, leaving no outstanding work in the thread.