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

Commit671eb8f

Browse files
author
Amit Kapila
committed
Remove unused wait events.
Commit4648243 introduced the wait events which were neither used bythat commit nor by follow-up commits for that work.Author: Masahiro IkedaBackpatch-through: 14, where it was introducedDiscussion:https://postgr.es/m/ff077840-3ab2-04dd-bbe4-4f5dfd2ad481@oss.nttdata.com
1 parent5040c96 commit671eb8f

File tree

3 files changed

+1
-33
lines changed

3 files changed

+1
-33
lines changed

‎doc/src/sgml/monitoring.sgml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,22 +1549,6 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
15491549
<entry><literal>WALWrite</literal></entry>
15501550
<entry>Waiting for a write to a WAL file.</entry>
15511551
</row>
1552-
<row>
1553-
<entry><literal>LogicalChangesRead</literal></entry>
1554-
<entry>Waiting for a read from a logical changes file.</entry>
1555-
</row>
1556-
<row>
1557-
<entry><literal>LogicalChangesWrite</literal></entry>
1558-
<entry>Waiting for a write to a logical changes file.</entry>
1559-
</row>
1560-
<row>
1561-
<entry><literal>LogicalSubxactRead</literal></entry>
1562-
<entry>Waiting for a read from a logical subxact file.</entry>
1563-
</row>
1564-
<row>
1565-
<entry><literal>LogicalSubxactWrite</literal></entry>
1566-
<entry>Waiting for a write to a logical subxact file.</entry>
1567-
</row>
15681552
</tbody>
15691553
</tgroup>
15701554
</table>

‎src/backend/utils/activity/wait_event.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -714,18 +714,6 @@ pgstat_get_wait_io(WaitEventIO w)
714714
caseWAIT_EVENT_WAL_WRITE:
715715
event_name="WALWrite";
716716
break;
717-
caseWAIT_EVENT_LOGICAL_CHANGES_READ:
718-
event_name="LogicalChangesRead";
719-
break;
720-
caseWAIT_EVENT_LOGICAL_CHANGES_WRITE:
721-
event_name="LogicalChangesWrite";
722-
break;
723-
caseWAIT_EVENT_LOGICAL_SUBXACT_READ:
724-
event_name="LogicalSubxactRead";
725-
break;
726-
caseWAIT_EVENT_LOGICAL_SUBXACT_WRITE:
727-
event_name="LogicalSubxactWrite";
728-
break;
729717

730718
/* no default case, so that compiler will warn */
731719
}

‎src/include/utils/wait_event.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,7 @@ typedef enum
220220
WAIT_EVENT_WAL_READ,
221221
WAIT_EVENT_WAL_SYNC,
222222
WAIT_EVENT_WAL_SYNC_METHOD_ASSIGN,
223-
WAIT_EVENT_WAL_WRITE,
224-
WAIT_EVENT_LOGICAL_CHANGES_READ,
225-
WAIT_EVENT_LOGICAL_CHANGES_WRITE,
226-
WAIT_EVENT_LOGICAL_SUBXACT_READ,
227-
WAIT_EVENT_LOGICAL_SUBXACT_WRITE
223+
WAIT_EVENT_WAL_WRITE
228224
}WaitEventIO;
229225

230226

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp