Jul 2021

5 commits
Re-enable TAP tests of pg_receivewal for ZLIB on Windows
20 Jul 2021Michael Paquiermaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #28

Exactly matches the src/bin/pg_basebackup/t/020_pg_receivewal.pl hunk in #28, removing the Windows exclusion; the production-code changes landed separately.

Fix some issues with WAL segment opening for pg_receivewal --compress
20 Jul 2021Michael Paquiermaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14beta3REL_13_STABLE13.4+3 more
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #28

Takes the receivelog.c and walmethods.c/h changes from #28, leaving Windows test re-enablement for a separate commit. Besides naming and comment edits, tar_get_file_name() changes snprintf's bound from sizeof(pointer) to MAXPGPATH.

Disable tests involving ZLIB on Windows for pg_receivewal
16 Jul 2021Michael Paquiermaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Adds a Windows skip condition to the ZLIB tests without a matching attached patch. Michael Paquier describes the recurring failure in #26 and confirms the temporary disabling after further MSVC investigation in #27.

Fix portability issue with gzip in TAP test of pg_receivewal
15 Jul 2021Michael Paquiermaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Removes .gz.partial files from gzip integrity checking, implementing the OpenBSD portability fix proposed in #23 and confirmed in #24; no attachment carries this change. Georgios Kokolatos's agreement in #25 came after the commit.

Add TAP tests for ZLIB compression for pg_receivewal
15 Jul 2021Michael Paquiermaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #201 of 2 reviewers saw the final version

Preserves the Makefile export and eight additional assertions from #20, with formatting, comment improvements and removal of three unnecessary WAL switches. Michael Paquier explicitly describes those edits and application in #21.

  • Gilles Daroldsaw an earlier versiontrailerCorrected the array-count expressions in #6, before the subsequent restructuring and addition of mixed-compression restart coverage in #20.
  • Michael Paquiersaw the final versiontrailerReviewed gzip availability and compression cost in #2, supplied the revised tests in #11, and reported detailed review, Windows testing and final edits in #21; he also committed the patch.

Credits across 5 commits

Author
Michael PaquierLLM2
Georgios Kokolatos1
Reviewer
Gilles Darold1
Michael Paquier1
Reported by
Georgios Kokolatos1
Committer
Michael Paquier5

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