diff options
author | Amit Kapila <akapila@postgresql.org> | 2021-10-21 08:07:08 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2021-10-21 08:07:08 +0530 |
commit | 671eb8f34404d24c8f16ae40e94becb38afd93bb (patch) | |
tree | 3df6207a69227b3ab4ee5c894d7790e3bc9a1a89 /src/backend | |
parent | 5040c96415a062a1016e0a6b9a4dc9f26a7f356e (diff) | |
download | postgresql-671eb8f34404d24c8f16ae40e94becb38afd93bb.tar.gz postgresql-671eb8f34404d24c8f16ae40e94becb38afd93bb.zip |
Remove unused wait events.
Commit 464824323e introduced the wait events which were neither used by
that commit nor by follow-up commits for that work.
Author: Masahiro Ikeda
Backpatch-through: 14, where it was introduced
Discussion: https://postgr.es/m/ff077840-3ab2-04dd-bbe4-4f5dfd2ad481@oss.nttdata.com
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/utils/activity/wait_event.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/backend/utils/activity/wait_event.c b/src/backend/utils/activity/wait_event.c index 6baf67740c7..d34c4cbdd42 100644 --- a/src/backend/utils/activity/wait_event.c +++ b/src/backend/utils/activity/wait_event.c @@ -714,18 +714,6 @@ pgstat_get_wait_io(WaitEventIO w) case WAIT_EVENT_WAL_WRITE: event_name = "WALWrite"; break; - case WAIT_EVENT_LOGICAL_CHANGES_READ: - event_name = "LogicalChangesRead"; - break; - case WAIT_EVENT_LOGICAL_CHANGES_WRITE: - event_name = "LogicalChangesWrite"; - break; - case WAIT_EVENT_LOGICAL_SUBXACT_READ: - event_name = "LogicalSubxactRead"; - break; - case WAIT_EVENT_LOGICAL_SUBXACT_WRITE: - event_name = "LogicalSubxactWrite"; - break; /* no default case, so that compiler will warn */ } |