Jan 2020

1 commit
Remove dependency on HeapTuple from predicate locking functions.
28 Jan 2020Thomas Munromaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #221 of 3 reviewers saw the final version

The commit contains the complete main patch from #22 and the comment portion of its fixup in src/backend/storage/lmgr/predicate.c, but omits the fixup's replacement of SerializationNeededForRead() with an assertion. Applying the main attachment to the commit parent leaves only that comment difference, consistent with the landing explanation in #24.

  • Andres Freundsaw an earlier versiontrailerIn #2 and #9, he reviewed subtransaction handling, API details and call overhead before the subsequent relocation of subtransaction resolution into heapam.c.
  • Kuntal Ghoshsaw an earlier versiontrailerIn #10, he examined the subtransaction dependency and supported a top-level-XID API before that logic was moved out of predicate.c.
  • Thomas Munrosaw the final versiontrailerHe discussed the initial design in #3, prepared #20, supplied the API-contract fixup in #22, and reviewed the final version as committer.

Nov 2019

2 commits
Optimize PredicateLockTuple().
11 Nov 2019Thomas Munromaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #201 of 1 reviewer saw the final version

Selects the PredicateLockTuple() optimization from the three-patch series in #20, replacing SubTransGetTopmostTransaction() with TransactionIdIsCurrentTransactionId(). The additional code edit removes the now-unused targetxmin declaration in src/backend/storage/lmgr/predicate.c; #22 confirms this patch was pushed.

  • Thomas Munrosaw the final versiontrailerHe prepared the reviewed and formatted series in #20 and committed this optimization with an unused-variable cleanup, reporting the landing in #22.
Optimize TransactionIdIsCurrentTransactionId().
11 Nov 2019Thomas Munromaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #201 of 1 reviewer saw the final version

Selects the first patch from the three-patch series in #20: the three-line top-level-XID fast path in src/backend/access/transam/xact.c matches exactly. The other two patches are outside this commit, and #22 confirms the first two patches landed separately.

  • Thomas Munrosaw the final versiontrailerHe prepared the reviewed series in #20 and committed the unchanged fast-path code, reporting its landing in #22.

Aug 2019

1 commit
Fix predicate-locking of HOT updated rows.
7 Aug 2019Heikki Linnakangasmaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+6 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #16

Matches the heap_hot_search_buffer() fix and isolation test in #16, with one additional cleanup replacing ItemPointerGetBlockNumber(tid) by the cached blkno in an assertion. The commit credits Thomas Munro's original fix and Heikki Linnakangas's test and refinements, and #18 confirms the push.

Credits across 4 commits

Author
Ashwin Agrawal3
based on a suggestion from Andres Freund2
Heikki LinnakangasLLM1
Reviewer
Thomas Munro3
Andres Freund1
Kuntal Ghosh1
Committer
Thomas Munro3
Heikki Linnakangas1

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