Sep 2020

2 commits
Fix thinko with definition of REINDEXOPT_MISSING_OK
2 Sep 2020Michael Paquiermaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Changes REINDEXOPT_MISSING_OK from (2 << 1) to (1 << 2) in src/include/nodes/parsenodes.h, exactly the correction reported in #6 and confirmed fixed in #7. Neither attached patchset contains this correction; Justin Pryzby is credited as the reporter.

Improve handling of dropped relations for REINDEX DATABASE/SCHEMA/SYSTEM
2 Sep 2020Michael Paquiermaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #31 of 1 reviewer saw the final version

Matches the implementation and isolation tests in #3, including resetting REINDEXOPT_MISSING_OK for TOAST recursion. Differences are comment edits in src/backend/catalog/index.c and src/backend/commands/indexcmds.c plus line wrapping; #5 confirms the added parent-lock explanation before committing.

  • Anastasia Lubennikovasaw the final versiontrailerIn #2 she reviewed the initial patch and requested resetting the flag for TOAST recursion, then accepted the revised patch in #4, after which only comments and formatting changed.

Credits across 2 commits

Author
Michael Paquier1
Reviewer
Anastasia Lubennikova1
Reported by
Justin Pryzby1
Committer
Michael Paquier2