May 2020

6 commits
Mop-up for wait event naming issues.
17 May 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Implements the explicit proposal in #30: slash-free parallel hash event names without '-ing', XactGroupUpdate, and moving ProcSignalBarrier from IO to IPC. Changes span src/include/pgstat.h, event producers, src/backend/postmaster/pgstat.c and documentation; neither attachment contains these changes.

Change locktype "speculative token" to "spectoken".
16 May 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Implements Tom Lane's spectoken proposal in #16, changing LockTagTypeNames in src/backend/utils/adt/lockfuncs.c, both documentation tables and isolation-test expectations. Neither attached patch changes heavyweight lock names.

Drop the redundant "Lock" suffix from LWLock wait event names.
15 May 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Implements dropping the redundant Lock suffix discussed in #3, #4 and #21, through src/backend/storage/lmgr/generate-lwlocknames.pl and matching documentation. It also replaces the publicly declared MainLWLockNames with IndividualLWLockNames; neither attachment implements suffix stripping.

Rename assorted LWLock tranches.
15 May 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Implements the non-SLRU tranche and field renamings proposed in #21, including SharedTidBitmap, PerXactPredicateList and fpInfoLock, with final choices LockFastPath and ReplicationOriginState. These changes to lwlock.c, lock.c, predicate.c and related headers are absent from both attachments.

Rename SLRU structures and associated LWLocks.
15 May 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #28

Preserves the exact changed lines from #28 in src/backend/commands/async.c and src/include/commands/async.h, then extends the same naming scheme to every built-in SLRU. The additional changes rename symbols, locks and statistics names and expand comments and documentation, without changing the underlying algorithms.

Collect built-in LWLock tranche names statically, not dynamically.
14 May 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #22

Retains the static built-in tranche tables and registration removal from #22. Additional edits in src/backend/storage/lmgr/lwlock.c fix the LWLOCK_STATS lookup to use GetLWTrancheName, correct the NAMEDATALEN assertion, simplify an error check and make the request array static.

Credits across 6 commits

Author
Tom LaneLLM2
Committer
Tom Lane6

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