Oct - Nov 2019

4 commits
Fix ecpglib.h to declare bool consistently with c.h.
12 Nov 2019Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #14

The commit preserves the PG_USE_STDBOOL configuration and header changes from #14. It additionally changes ecpglib.h's fallback typedef guard from checking bool to checking whether true and false are defined, preventing duplicate typedefs after c.h, and adjusts comments.

Move declaration of ecpg_gettext() to a saner place.
7 Nov 2019Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+6 more
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #13

The commit extracts the unchanged ecpg_gettext() declaration and fallback-macro relocation from ecpglib.h to ecpglib_extern.h in #13. It omits the independent pqbool conversion, documentation changes, and test updates.

Sync our DTrace infrastructure with c.h's definition of type bool.
6 Nov 2019Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+1 more
LLM analysis, 100% surewritten from the discussion, no matching patch

Tom Lane posted the inline alternative defining bool as unsigned char in src/backend/utils/probes.d #10 and selected it in #12. The commit implements that alternative with matching monitoring documentation and comment cleanup; neither attached patch contains this change.

Get rid of useless/dangerous redefinition of bool in ECPG.
25 Oct 2019Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+1 more
LLM analysis, 100% surewritten from the discussion, no matching patch

Amit Kapila proposed removing pgtypeslib_extern.h's conflicting bool definition #1, and Tom Lane reported testing and pushing the fix #3. The commit removes that definition and unused TRUE/FALSE macros before either attached patch was posted.

Credits across 4 commits

Author
Tom LaneLLM2
Committer
Tom Lane4

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