Mar 2024

2 commits
Add some asserts based on LWLockHeldByMe() for replication slot statistics
12 Mar 2024Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #61 of 1 reviewer saw the final version

The commit exactly matches both assertion additions in #6, requiring ReplicationSlotAllocationLock in LW_EXCLUSIVE mode in pgstat_create_replslot() and pgstat_drop_replslot().

  • Bertrand Drouvotsaw the final versiontrailerBertrand explicitly said the assertion patch made sense and looked good in #7, and it was committed unchanged.
Keep replication slot statistics on invalidation
12 Mar 2024Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #31 of 1 reviewer saw the final version

The commit preserves the slot.c removal and all test logic from #3; edits in src/test/recovery/t/035_standby_logical_decoding.pl only adjust comments, formatting, and diagnostic wording.

  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Bertrand Drouvot1
Michael PaquierLLM1
Reviewer
Bertrand Drouvot1
Michael Paquiercommitter1
Committer
Michael Paquier2

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