Feb 2020

4 commits
Update obsolete comment.
15 Feb 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 99% surewritten from the discussion, no matching patch

No attachment changes src/backend/commands/cluster.c; this commit removes obsolete restrictions from get_tables_to_cluster() commentary and clarifies its result description. Tom explicitly identifies the stale-comment cleanup as arising from Justin's initial report in #18.

Clarify coding in Catalog::AddDefaultValues.
15 Feb 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 99% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The Catalog::AddDefaultValues cleanup follows Alvaro's inline implementation in #15, using early next statements instead of empty conditional branches. The committed version omits the superseded relnatts exception, removes unused atttype, and revises comments; Tom explicitly kept this cleanup separate from his attachment in #17.

  • Tom Lanesaw the final versioncommittercommitted the patch
Run "make reformat-dat-files".
15 Feb 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 98% surewritten from the discussion, no matching patch

No attachment contains these formatting-only changes to pg_proc.dat and pg_type.dat. The commit message says make reformat-dat-files was run chiefly to verify the preceding relnatts change, following the formatter compatibility problem reported in #10.

Don't require pg_class.dat to contain correct relnatts values.
15 Feb 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surelanded as postedfrom patchset #170 of 2 reviewers saw the final version

The diff exactly matches Tom Lane's attachment in #17 after ignoring abbreviated index hashes. It computes relnatts in genbki.pl, adds BKI_DEFAULT annotations to pg_class.h, and reduces pg_class.dat entries to their identifying fields.

  • Michael Paquiersaw an earlier versionLLM analysis, 98% sureMichael questioned the assertion's scope and non-assert-build overhead in #3, then identified the stale relnatts comment in #9, which was corrected before the subsequent implementation changes.
  • John Naylorsaw an earlier versionLLM analysis, 93% sureJohn tested #8, reported the reformatter failure, and proposed the placeholder BKI_DEFAULT and earlier assignment in #10, before Tom's further implementation changes.

Credits across 4 commits

Author
Alvaro HerreraLLM1
Tom LaneLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane4

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