Aug 2026

4 commits
Support tied Perl objects in plperl and associated contrib modules.
19 Aug 2026Tom LanemasterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #221 of 1 reviewer saw the final version

Uses the hv_iterval() and plperl_materialize_sv() changes from #22, incorporating tests from #9 as confirmed in #26. Converts the helper into a macro, adds materialization while recursively dereferencing hstore/jsonb inputs, removes the disputed FREETMPS comment, and reorganizes tests.

  • Tom Lanesaw the final versiontrailerTested the tied-array fix in #5, requested consistent iteration in #10, corrected the FREETMPS claim in #23, and reviewed and committed the final version.
Make plperl's handling of Perl hashes more consistent.
18 Aug 2026Tom Lanemasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #201 of 1 reviewer saw the final version

All added and removed source lines match #20, including the hek2cstr() relocation, contrib hash-loop changes, and removal of redundant hv_iterinit() calls. The commit message documents the decision to apply only to master.

  • Andrey Rachitskiysaw the final versiontrailerSaid the patch looked good and agreed that the extra hv_iterinit() calls were redundant and misleading in #21.
Defend against null "SV *" pointers in plperl modules.
18 Aug 2026Tom LanemasterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
LLM analysis, 94% surepart of a posted patchsetmoderate changesfrom patchset #10 of 1 reviewer saw the final version

Extracts the hstore null-pointer guard from #1, leaving its array-loop fix to the separate array commit. Adds defensive null handling in get_perl_array_ref() and SV_to_JsonbValue(), matching Tom's explanation of the narrowed backpatch in #25.

  • Andrey Rachitskiysaw an earlier versionLLM analysis, 86% sureExplained in #4 why the original HeVAL() null guard always produces SQL NULL for tied hashes; the committed defensive patch subsequently added checks in other conversion paths.
Make plperl's handling of Perl arrays safer and more consistent.
17 Aug 2026Tom LanemasterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
LLM analysis, 100% surelanded as postedfrom patchset #151 of 1 reviewer saw the final version

All added and removed source lines match #15, including av_count_limit(), Size_t counters, and the bounded SETOF loop. Differences are confined to surrounding base context; Tom announced the push in #19.

  • Andrey Rachitskiysaw the final versiontrailerDiscussed av_fetch() proxy lifetimes and FETCH behavior in his reply #16 to #15, and the unchanged committed patch explicitly credits his review.

Credits across 4 commits

Author
Tom Lane3
Andrey Rachitskiy1
Reviewer
Andrey Rachitskiy2
Noah Mischcommitter1
Tom Lane1
Reported by
Claude Code2
Committer
Tom Lane4
Noah Misch1