Jul 2022

1 commit
Avoid shadowing a variable in sync.c.
14 Jul 2022Thomas Munromaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

The declaration proposed in #1 already exists in the commit's parent; the commit instead renames the fsync and unlink pointers to pfe and pue in src/backend/storage/sync/sync.c. This implements Tom Lane's suggestion in #3, with Thomas Munro confirming completion in #5; git identifies Munro as the author.

  • Kyotaro Horiguchisaw the final versionLLM analysis, 98% sureKyotaro identified that the proposed declaration already existed in #2, then supported distinct variable names and reported a whole-tree -Wshadow=local compilation in #4.
  • Tom Lanesaw the final versionLLM analysis, 100% sureTom identified the nested entry declarations as confusing shadowing and proposed renaming one or both variables in #3, which the commit implements.

Credits across 1 commit

Author
Thomas MunroLLM1
Reported by
Kyotaro Horiguchi1
Ranier Vilela1
Tom Lane1
Committer
Thomas Munro1

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