Oct 2023

1 commit
Avoid memory size overflow when allocating backend activity buffer
3 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13+1 more
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #103 of 3 reviewers saw the final version

The commit retains only the pgstat_read_current_status() allocation fix from #10, spelling the casts as Size and wrapping the expression; it omits the constant and BackendStatusShmemSize() limit check. Michael Paquier explicitly confirms removing the startup restriction in #11.

  • Peter Eisentrautsaw the final versionLLM analysis, 83% sureIn #4, he questioned correcting the multiplication with casts instead of changing the underlying type; the committed allocation fix differs from the reviewed #3 only in equivalent type spelling and formatting.
  • Andres Freundsaw the final versionLLM analysis, 90% sureIn #5, he identified the GUC type mismatch and raised 32-bit overflow concerns about both patches; the retained allocation casts match #3 apart from equivalent type spelling and formatting.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Jakub Wartak1
Reviewer
Michael Paquiercommitter1
Committer
Michael Paquier1