Jun 2021

1 commit
Fix variable initialization with ALTER SUBSCRIPTION DROP PUBLICATION
28 Jun 2021Michael Paquiermaster14beta3REL_19_STABLE14beta3REL_18_STABLE14beta3REL_17_STABLE14beta3REL_16_STABLE14beta3REL_15_STABLE14beta3REL_14_STABLE14beta3
LLM analysis, 100% surelanded as postedfrom patchset #12 of 2 reviewers saw the final version

The commit and #1 make the identical one-line change from bool copy_data to bool copy_data = false in src/backend/commands/subscriptioncmds.c. Michael Paquier confirmed the uninitialized-value path and announced application on HEAD in #4.

  • Peter Smithsaw the final versiontrailerPeter Smith confirmed by code inspection that DROP PUBLICATION could pass uninitialized copy_data to AlterSubscription_refresh(), explicitly noting that he had not tested it #3.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Ranier Vilela1
Reviewer
Michael Paquiercommitter1
Peter Smith1
Committer
Michael Paquier1