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

Commit1607cd0

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 parent98ec35b commit1607cd0

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
@@ -717,18 +717,6 @@ pgstat_get_wait_io(WaitEventIO w)
717717
caseWAIT_EVENT_WAL_WRITE:
718718
event_name="WALWrite";
719719
break;
720-
caseWAIT_EVENT_LOGICAL_CHANGES_READ:
721-
event_name="LogicalChangesRead";
722-
break;
723-
caseWAIT_EVENT_LOGICAL_CHANGES_WRITE:
724-
event_name="LogicalChangesWrite";
725-
break;
726-
caseWAIT_EVENT_LOGICAL_SUBXACT_READ:
727-
event_name="LogicalSubxactRead";
728-
break;
729-
caseWAIT_EVENT_LOGICAL_SUBXACT_WRITE:
730-
event_name="LogicalSubxactWrite";
731-
break;
732720

733721
/* no default case, so that compiler will warn */
734722
}

‎src/include/utils/wait_event.h

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

231227

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp