Apr 2022

4 commits
Handle compression level in pg_receivewal for LZ4
18 Apr 2022Michael Paquiermaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #6

The commit implements the LZ4 preferences patch from #6 in src/bin/pg_basebackup/walmethods.c, removing only the redundant memset of prefs.frameInfo after the entire prefs structure was zeroed.

Rework compression options of pg_receivewal
13 Apr 2022Michael Paquiermaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #52 of 2 reviewers saw the final version

The commit matches the option parser, documentation, and tests in #5, with formatting changes and the no-compression switch case retained in its original position in src/bin/pg_basebackup/pg_receivewal.c.

  • Robert Haassaw the final versiontrailerRobert supported the series and requested clearer variable names in #3, followed only by naming and other light changes.
  • Georgios Kokolatossaw the final versiontrailerGeorgios endorsed the option design and requested naming improvements in #2, followed only by light changes.
Remove WalCompressionMethod in favor of pg_compress_algorithm
12 Apr 2022Michael Paquiermaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #12 of 2 reviewers saw the final version

The commit takes the second patch of the three-patch series in #1, replacing WalCompressionMethod across src/bin/pg_basebackup. Relative to that constituent patch, changes are chiefly expansion of algo variable and callback names to algorithm, as confirmed in #5.

  • Robert Haassaw the final versiontrailerRobert objected to compression_algo naming in #3, and the committed version incorporates that naming feedback.
  • Georgios Kokolatossaw the final versiontrailerGeorgios reviewed the enum replacement and requested full algorithm names in #2, which were incorporated before commitment.
Rename backup_compression.{c,h} to compression.{c,h}
12 Apr 2022Michael Paquiermaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #12 of 2 reviewers saw the final version

The commit takes the first patch of #1, generalizing backup_compression.{c,h} and its callers. Light edits retain the compression_specification member name in src/backend/replication/basebackup.c and add the new types to src/tools/pgindent/typedefs.list.

  • Robert Haassaw the final versiontrailerRobert supported the overall refactoring in #3, with only light changes before commitment.
  • Georgios Kokolatossaw the final versiontrailerGeorgios examined the shared enum and type naming and endorsed the design in #2, with only light changes before commitment.

Credits across 4 commits

Author
Michael Paquier1 LLM4
Reviewer
Georgios Kokolatos3
Robert Haas3
Reported by
Robert Haas1
Committer
Michael Paquier4

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