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

Commit8400704

Browse files
committed
Rename wait event WalrcvExit to WalReceiverExit.
Commitde829dd added wait event WalrcvExit. But its name is notconsistent with other wait events like WalReceiverMain orWalReceiverWaitStart, etc. So this commit renames WalrcvExit toWalReceiverExit.Author: Fujii MasaoReviewed-by: Thomas MunroDiscussion:https://postgr.es/m/cced9995-8fa2-7b22-9d91-3f22a2b8c23c@oss.nttdata.com
1 parent7fbcee1 commit8400704

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

‎doc/src/sgml/monitoring.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,8 +1763,8 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
17631763
replication.</entry>
17641764
</row>
17651765
<row>
1766-
<entry><literal>WalrcvExit</literal></entry>
1767-
<entry>Waiting for thewalreceiver to exit.</entry>
1766+
<entry><literal>WalReceiverExit</literal></entry>
1767+
<entry>Waiting for theWAL receiver to exit.</entry>
17681768
</row>
17691769
<row>
17701770
<entry><literal>WalReceiverWaitStart</literal></entry>

‎src/backend/postmaster/pgstat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4121,8 +4121,8 @@ pgstat_get_wait_ipc(WaitEventIPC w)
41214121
caseWAIT_EVENT_SYNC_REP:
41224122
event_name="SyncRep";
41234123
break;
4124-
caseWAIT_EVENT_WALRCV_EXIT:
4125-
event_name="WalrcvExit";
4124+
caseWAIT_EVENT_WAL_RECEIVER_EXIT:
4125+
event_name="WalReceiverExit";
41264126
break;
41274127
caseWAIT_EVENT_WAL_RECEIVER_WAIT_START:
41284128
event_name="WalReceiverWaitStart";

‎src/backend/replication/walreceiverfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ ShutdownWalRcv(void)
224224
ConditionVariablePrepareToSleep(&walrcv->walRcvStoppedCV);
225225
while (WalRcvRunning())
226226
ConditionVariableSleep(&walrcv->walRcvStoppedCV,
227-
WAIT_EVENT_WALRCV_EXIT);
227+
WAIT_EVENT_WAL_RECEIVER_EXIT);
228228
ConditionVariableCancelSleep();
229229
}
230230

‎src/include/pgstat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ typedef enum
10081008
WAIT_EVENT_REPLICATION_SLOT_DROP,
10091009
WAIT_EVENT_SAFE_SNAPSHOT,
10101010
WAIT_EVENT_SYNC_REP,
1011-
WAIT_EVENT_WALRCV_EXIT,
1011+
WAIT_EVENT_WAL_RECEIVER_EXIT,
10121012
WAIT_EVENT_WAL_RECEIVER_WAIT_START,
10131013
WAIT_EVENT_XACT_GROUP_UPDATE
10141014
}WaitEventIPC;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp