Jul 2025

4 commits
Silence leakage complaint about postgres_fdw's InitPgFdwOptions.
25 Jul 2025Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #141 of 1 reviewer saw the final version

The option.c diff matches the fourth patch in #14: copy option keywords into TopMemoryContext and free the PQconninfoOption array.

  • Matheus Alcantarasaw the final versiontrailerIn #9, he explicitly reviewed the options patch in #5, whose implementation remained unchanged through #14.
Run pgindent on the changes of the previous patch.
25 Jul 2025Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #141 of 1 reviewer saw the final version

Matches the third patch in #14, reindenting the caller simplifications across dblink, postgres_fdw, and libpq-be-fe-helpers.h, modulo rebase and whitespace.

  • Matheus Alcantarasaw the final versiontrailerIn #9, he explicitly reviewed the indentation patch in #5, followed only by adjustments for already-committed code and rebasing.
Reap the benefits of not having to avoid leaking PGresults.
25 Jul 2025Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #141 of 1 reviewer saw the final version

Matches the second patch in #14, removing redundant PG_TRY blocks, volatile qualifiers, and error-path PQclear handling across six files; normalized diff comparison shows only rebase/whitespace differences.

  • Matheus Alcantarasaw the final versiontrailerIn #9, he explicitly endorsed the simplification patch in #5, with subsequent changes limited to rebasing and omitting cleanup already landed.
Create infrastructure to reliably prevent leakage of PGresults.
25 Jul 2025Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #140 of 1 reviewer saw the final version

Uses the first patch in #14, adding compatibility work in libpq-be-fe-helpers.h: temporarily undefining wrapper macros around libpqsrv_notice_receiver and adjusting const declarations. Tom confirms additional integration work in #16.

  • Matheus Alcantarasaw an earlier versiontrailerHe endorsed the infrastructure patch from #5 in #6, before the later notice-receiver compatibility changes described in #16.

May 2025

2 commits
Fix memory leakage in postgres_fdw's DirectModify code path.
30 May 2025Tom Lanemaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22
LLM analysis, 99% surelanded as postedfrom patchset #121 of 1 reviewer saw the final version

Implements the complete minimal callback fix from #12 in postgres_fdw.c; differences reflect older branch context, including existing PQclear guards and the pgfdw_get_result signature. Supplied sibling commits confirm the posted implementation unchanged.

  • Matheus Alcantarasaw the final versiontrailerHis pre-commit response #13 endorsed proceeding with the minimal backpatchable fix posted in #12.
Avoid resource leaks when a dblink connection fails.
29 May 2025Tom Lanemaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22
LLM analysis, 98% surelanded as postedfrom patchset #81 of 1 reviewer saw the final version

Preserves the standalone dblink implementation from #8: embed remoteConn in the hash entry, allocate before connecting, and ignore incomplete entries. Differences accommodate older connection/security APIs and hash code; supplied sibling commits match the posted changes exactly.

  • Matheus Alcantarasaw the final versiontrailerHe proposed an allocation-order improvement to #5 in #6 and explicitly endorsed the redesigned standalone patch #8 in #9.

Credits across 6 commits

Author
Tom Lane6
Reviewer
Matheus Alcantara6
Committer
Tom Lane6