Feb 2021

2 commits
Fix ORDER BY clause in new regression test of REINDEX CONCURRENTLY
10 Feb 2021Michael Paquiermaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.3+1 more
LLM analysis, 100% surewritten from the discussion, no matching patch

Implements the inline correction in #10, replacing the constant ORDER BY expression with attrelid::regclass::text in src/test/regress/sql/create_index.sql and its expected output; #11 confirms the fix. Justin Pryzby reported the defect and is credited as Reported-by, with no separate review of the correction.

Preserve pg_attribute.attstattarget across REINDEX CONCURRENTLY
10 Feb 2021Michael Paquiermaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.3+1 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #42 of 2 reviewers saw the final version

Matches #4 across all five files, with only defensive zero-initialization of repl_val, comment wrapping and blank-line cleanup in src/backend/catalog/index.c. The commit message also explains the backpatchability rationale requested in #7, as confirmed in #9.

  • Ronan Dunklausaw the final versiontrailerAcknowledged the replacement approach and approved #4 in #5, with only light changes before commitment.
  • Tomas Vondrasaw the final versiontrailerReported the unusable attachment in #2 and examined the swap-time implementation and equality guard in #7, requesting an explanation of the backpatchability tradeoff.

Credits across 2 commits

Author
Michael Paquier1
Reviewer
Ronan Dunklau1
Tomas Vondra1
Reported by
Justin Pryzby1
Ronan Dunklau1
Committer
Michael Paquier2