May 2019

5 commits
Improve coverage of cpluspluscheck.
31 May 2019Tom Lanemaster12beta2REL_19_STABLE12beta2REL_18_STABLE12beta2REL_17_STABLE12beta2REL_16_STABLE12beta2REL_15_STABLE12beta2REL_14_STABLE12beta2REL_13_STABLE12beta2+1 more
LLM analysis, 100% surewritten from the discussion, no matching patch

Implements Tom Lane's inline proposal in #2 to scan src and contrib in src/tools/pginclude/cpluspluscheck, including the pg_dump exclusions explained in #3. The commit additionally configures compiler flags and dependency include paths; no attached patchset contains these changes.

Fix C++ incompatibilities in ecpg/preproc/ header files.
31 May 2019Tom Lanemaster12beta2REL_19_STABLE12beta2REL_18_STABLE12beta2REL_17_STABLE12beta2REL_16_STABLE12beta2REL_15_STABLE12beta2REL_14_STABLE12beta2REL_13_STABLE12beta2+1 more
LLM analysis, 100% surewritten from the discussion, no matching patch

Implements the ecpg/preproc/type.h keyword conflict fix proposed in #3, renaming struct _defines fields to olddef and newdef and updating ecpg.c and pgc.l. These changes are absent from the attached PL/pgSQL patchset.

Fix C++ incompatibilities in plpgsql's header files.
31 May 2019Tom Lanemaster12beta2REL_19_STABLE12beta2REL_18_STABLE12beta2REL_17_STABLE12beta2REL_16_STABLE12beta2REL_15_STABLE12beta2REL_14_STABLE12beta2REL_13_STABLE12beta2+6 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #11 of 1 reviewer saw the final version

Preserves both parameter-renaming fixes from #1 across pl_comp.c, pl_exec.c and plpgsql.h. Committer edits replace dobj with newdatum and typoid with typeId, additionally rename typmod to typMod, and reformat the declaration without changing logic.

  • Tom Lanesaw the final versioncommittercommitted the patch
Fix assorted header files that failed to compile standalone.
31 May 2019Tom Lanemaster12beta2REL_19_STABLE12beta2REL_18_STABLE12beta2REL_17_STABLE12beta2REL_16_STABLE12beta2REL_15_STABLE12beta2REL_14_STABLE12beta2REL_13_STABLE12beta2+1 more
LLM analysis, 100% surewritten from the discussion, no matching patch

Addresses the standalone-header failures Tom Lane identified in #2, adding dependencies to PL/Python, PL/Perl and other headers, guarding GSS declarations, and making print_double static inline. None of these changes appears in #1, and #4 confirms the additional fixes were pushed.

Make our perfect hash functions be valid C++.
31 May 2019Tom Lanemaster12beta2REL_19_STABLE12beta2REL_18_STABLE12beta2REL_17_STABLE12beta2REL_16_STABLE12beta2REL_15_STABLE12beta2REL_14_STABLE12beta2REL_13_STABLE12beta2+1 more
LLM analysis, 99% surewritten from the discussion, no matching patch

Adds an explicit const unsigned char pointer cast to generated code in src/tools/PerfectHash.pm, fixing a C++ failure uncovered by the expanded header checking discussed in #2. Its Discussion trailer links this work to the thread, but the attached patchset contains no perfect-hash changes.

Credits across 5 commits

Author
Тарасов Георгий ВитальевичLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane5

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