Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita493e74

Browse files
committed
Fix inconsistent LWLock tranche names for MultiXact*
The terms used in wait_event_names.txt and lwlock.c were inconsistentfor MultiXactOffsetSLRU and MultiXactMemberSLRU, which could cause joinsbetween pg_wait_events and pg_stat_activity to fail. lwlock.c isadjusted in this commit to what the historical name of the event hasalways been, and what is documented.Oversight in53c2a97.08b9b9e has fixed a similarinconsistency some time ago.Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>Discussion:https://postgr.es/m/aHdxN0D0hKXzHFQG@ip-10-97-1-34.eu-west-3.compute.internalBackpatch-through: 17
1 parentf6ffbed commita493e74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/storage/lmgr/lwlock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ static const char *const BuiltinTrancheNames[] = {
170170
[LWTRANCHE_DSM_REGISTRY_DSA]="DSMRegistryDSA",
171171
[LWTRANCHE_DSM_REGISTRY_HASH]="DSMRegistryHash",
172172
[LWTRANCHE_COMMITTS_SLRU]="CommitTsSLRU",
173-
[LWTRANCHE_MULTIXACTOFFSET_SLRU]="MultixactOffsetSLRU",
174-
[LWTRANCHE_MULTIXACTMEMBER_SLRU]="MultixactMemberSLRU",
173+
[LWTRANCHE_MULTIXACTOFFSET_SLRU]="MultiXactOffsetSLRU",
174+
[LWTRANCHE_MULTIXACTMEMBER_SLRU]="MultiXactMemberSLRU",
175175
[LWTRANCHE_NOTIFY_SLRU]="NotifySLRU",
176176
[LWTRANCHE_SERIAL_SLRU]="SerialSLRU",
177177
[LWTRANCHE_SUBTRANS_SLRU]="SubtransSLRU",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp