Jan 2026

1 commit
Fix some rounding code for shared memory.
23 Jan 2026Nathan Bossartmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #11 of 3 reviewers saw the final version

The commit combines both fixes from #1, but src/backend/storage/ipc/ipci.c increments the page-count quotient conditionally instead of rounding the byte count, implementing Nathan Bossart's proposal in #3. In src/backend/port/sysv_shmem.c it retains the submitted add_size() change while omitting the added storage/shmem.h include.

  • Ashutosh Bapatsaw an earlier versiontrailerAshutosh proposed a shared ceil_size() helper in #2, reviewing the submitted approach before Nathan's arithmetic rewrite.
  • Michael Paquiersaw an earlier versiontrailerMichael endorsed fixing HEAD and advised against backpatching in #4, but did not explicitly assess the replacement arithmetic proposed in #3.
  • Nathan Bossartsaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Anthonin Bonnefoy1
Reviewer
Ashutosh Bapat1
Michael Paquier1
Nathan Bossartcommitter1
Committer
Nathan Bossart1