Jan 2023

2 commits
plpython: Avoid the need to redefine *printf macros
25 Jan 2023Andres Freundmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surelanded as postedfrom patchset #71 of 1 reviewer saw the final version

Both diff hunks exactly match the first patch in #7: src/pl/plpython/plpython.h defines HAVE_SNPRINTF to 1 and removes the printf macro undefinition/restoration blocks.

  • Tom Lanesaw the final versiontrailerTom checked Python 3.2 compatibility and requested HAVE_SNPRINTF be defined to 1 in #4, then explicitly endorsed the attached first patch in #8.
plpython: Stop undefining _POSIX_C_SOURCE, _XOPEN_SOURCE
25 Jan 2023Andres Freundmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #72 of 2 reviewers saw the final version

The src/pl/plpython/plpython.h diff exactly matches the second patch in #7, removing the _POSIX_C_SOURCE/_XOPEN_SOURCE undefines and enforcing inclusion of Python.h through plpython.h. The commit message adds the older-platform risk and possible-revert paragraph promised in #9.

  • Tom Lanesaw the final versionLLM analysis, 99% sureTom identified Python-version differences and portability risks in #4, then reviewed the attached change with reservations and accepted trying it with a fallback in #8.
  • Robert Haassaw the final versionLLM analysis, 94% sureBefore the commit, Robert endorsed trying the feature-test macro cleanup because the historical problems might be obsolete and any fallout could be addressed or reverted #10.

Credits across 2 commits

Author
Andres FreundLLM2
Reviewer
Tom Lane1
Committer
Andres Freund2

N LLM means N of the credits come from LLM analysis, not from commit trailers.