Apr 2024

6 commits
Post review fixes for test_json_parser test module
23 Apr 2024Andrew Dunstanmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

No attachment contains these changes: the commit implements the temporary-file, escape-coverage, documentation, and file-error-checking requests in #97, #99, and #100. Its eight changed paths are all in src/test/modules/test_json_parser.

  • Michael Paquiersaw the final versionLLM analysis, 98% sureReviewing the landed cleanup from #95, he identified leaked temporary files, missing escape coverage and unchecked file operations in #97, then requested standard temporary-directory handling in #99.
  • Robert Haassaw the final versionLLM analysis, 94% sureHe supported replacing the test module's exceptional temporary-file handling with the project's standard approach in #100, which the commit implements.
Shrink test file for test_json_parser module
12 Apr 2024Andrew Dunstanmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #942 of 2 reviewers saw the final version

Takes exactly the fixture-reduction component of the four-patch series in #94; its stable patch ID and normalized changed lines match. That component also exactly matches Jacob's submission in #93, and both the forwarded patch and commit credit him.

  • Michael Paquiersaw the final versionLLM analysis, 99% sureHe reviewed the reduced fixture in #86, identified a remaining live URL and requested further simplification; the subsequent revision changed hostnames without changing the retained structure.
  • Andrew Dunstansaw the final versioncommittercommitted the patch
Assorted minor cleanups in the test_json_parser module
12 Apr 2024Andrew Dunstanmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #954 of 4 reviewers saw the final version

Matches the cleanup patch in #95, with two additional comment corrections in src/backend/backup/basebackup_incremental.c and formatting changes around the trailing-junk explanation. The test-program logic is unchanged from that attachment.

  • Michael Paquiersaw the final versionLLM analysis, 98% sureHis review of the landed module in #87 requested named buffer constants, typo repairs and an explanation of trailing junk, all addressed by the cleanup.
  • Alexander Lakhinsaw the final versionLLM analysis, 100% sureThe commit explicitly credits his typo findings, also acknowledged in #95, although he has no message in this thread.
  • Daniel Westermannsaw the final versionLLM analysis, 100% sureThe message of 42fa4b6601 credits his stylistic findings; he has no message in this thread.
  • Daniel Gustafssonsaw the final versionLLM analysis, 100% sureThe message of 42fa4b6601 credits his stylistic findings; he has no message in this thread.
Introduce a non-recursive JSON parser
4 Apr 2024Andrew Dunstanmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #561 of 1 reviewer saw the final version

Takes the first component of #56, including the parser and its tests, with only two added blank lines and the DoState entry added to src/tools/pgindent/typedefs.list. The other two components landed separately.

  • Jacob Championsaw the final versiontrailerHe supplied optimizations and tests, found partial-token and callback-error bugs, reviewed nesting limits, and explicitly marked #56 ready for commit in #57.
Add support for incrementally parsing backup manifests
4 Apr 2024Andrew Dunstanmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #561 of 1 reviewer saw the final version

Takes exactly the second component of #56, adding incremental manifest parsing and checksum-state handling in src/common/parse_manifest.c and its header. The stable patch ID and normalized changed lines match.

  • Jacob Championsaw the final versiontrailerHe requested useful manifest parse errors in #33, examined the checksum/final-chunk design in #55, and approved the final series in #57.
Use incremental parsing of backup manifests.
4 Apr 2024Andrew Dunstanmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #561 of 1 reviewer saw the final version

Takes exactly the third component of #56, converting basebackup_incremental.c, pg_combinebackup/load_manifest.c and pg_verifybackup.c. Its stable patch ID and normalized changed lines match that complete component.

  • Jacob Championsaw the final versiontrailerHe reproduced manifest failures, verified the bounded-input repair in #26, flagged leftover caller diagnostics in #55, and marked the final series ready in #57.

Credits across 6 commits

Author
Andrew Dunstan1 LLM4
Jacob ChampionLLM1
Reviewer
Jacob Champion3
Andrew Dunstancommitter1
Committer
Andrew Dunstan6

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