Jan 2024

5 commits
ci: Enable injection points in builds
23 Jan 2024Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #521 of 1 reviewer saw the final version

Implements the seven CI configuration changes attached in #52, with shell-command line wrapping adjusted in .cirrus.tasks.yml. Michael Paquier confirms applying Heikki Linnakangas's patch in #54.

  • Michael Paquiersaw the final versioncommittercommitted the patch
Fix two memcpy() bugs in the new injection point code
22 Jan 2024Heikki Linnakangasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surewritten from the discussion, no matching patch0 of 1 reviewer saw the final version

Heikki Linnakangas reports the ASan crash in #52 and announces the fix in #53, without attaching a corresponding patch. The commit replaces four memcpy calls with strlcpy in InjectionPointAttach and injection_point_cache_add, preventing overreads and ensuring termination.

  • Ashutosh Bapatsaw an earlier versionLLM analysis, 79% sureHe questioned the same shared-entry memcpy calls and recommended string-copy routines in #26 and #43, although he did not identify the ASan failure or review the fix, and the later callback-argument rework in #55 prevents final coverage.
Add test module injection_points
22 Jan 2024Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #494 of 4 reviewers saw the final version

Lands the test-module patch and its comment fixup from #49, excluding the backend and example recovery tests. Additional edits simplify the Makefile to MODULES, relocate a comment and correct expected output for the mode-to-action rename, as acknowledged in #50.

  • Ashutosh Bapatsaw the final versiontrailerHe reviewed the SQL tests and build behavior in #30 and #45, then reviewed the final module and supplied the incorporated comment and naming fixes in #49.
  • Nathan Bossartsaw the final versiontrailerHe reviewed the initial interface in #6 and the module's organization in #27, with only naming, comments, build simplification and test edits following in the committed module.
  • Álvaro Herrerasaw the final versiontrailerHis attach/detach naming and cross-session interface review in #10 carried into the module, whose subsequent changes were naming, comments and regression coverage.
  • Dilipsaw the final versiontrailerHe reported successfully using the framework and its callbacks for CLOG concurrency testing in #22 and #24, before only light changes to the basic module that landed.
Add backend support for injection points
22 Jan 2024Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #491 of 4 reviewers saw the final version

Combines the backend patch and documentation fixup from #49, leaving the module and example tests for separate treatment. Besides editorial and rebase changes, it removes the local file_exists implementation and calls pg_file_exists, changing the EACCES handling as requested during review.

  • Ashutosh Bapatsaw the final versiontrailerHe reviewed cache behavior and error handling throughout the series, then supplied final documentation fixes and explicitly requested the committed pg_file_exists substitution in #49.
  • Nathan Bossartsaw an earlier versiontrailerHe reviewed the API in #6 and requested HASH_FIXED_SIZE while questioning callback caching in #27, before subsequent cache, lookup and error-handling changes.
  • Álvaro Herrerasaw an earlier versiontrailerHe proposed the adopted macro and attach/detach names and discussed process scoping in #10, before the process-local cache and its later implementation changes.
  • Dilipsaw an earlier versiontrailerHe exercised the framework in #22 and reviewed comments, file-existence duplication and locking in #37, before further hash-table and callback-lookup changes.
Refactor code checking for file existence
12 Jan 2024Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #441 of 1 reviewer saw the final version

Lands only the file-existence prerequisite from #44, extracting pg_file_exists into src/backend/storage/file/fd.c and updating jit.c and dfmgr.c. The implementation matches that attachment; the function comment is expanded to explain the return value.

  • Ashutosh Bapatsaw the final versiontrailerHe reviewed the extracted helper and discussed its JIT permission-error behavior in #43, after which only the helper's explanatory comment changed.

Credits across 5 commits

Author
Michael Paquier1 LLM3
Heikki Linnakangas1
with comment fixes from Ashutosh Bapat.1
with doc suggestions from Ashutosh Bapat.1
Reviewer
Ashutosh Bapat3
Alvaro Herrera2
Dilip2
Nathan Bossart2
Michael Paquiercommitter1
Committer
Michael Paquier4
Heikki Linnakangas1

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