diff options
author | Noah Misch <noah@leadboat.com> | 2024-06-27 19:21:05 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2024-06-27 19:21:05 -0700 |
commit | bb93640a681c2cc709e9836e169c8f3eb556df57 (patch) | |
tree | bdd9c37008aa9d200cfbfd264ee3b24794f5aa1a /src/backend/storage/ipc/ipci.c | |
parent | 0844b3968985447ed0a6937cfc8639e379da2fe6 (diff) | |
download | postgresql-bb93640a681c2cc709e9836e169c8f3eb556df57.tar.gz postgresql-bb93640a681c2cc709e9836e169c8f3eb556df57.zip |
Add wait event type "InjectionPoint", a custom type like "Extension".
Both injection points and customization of type "Extension" are new in
v17, so this just changes a detail of an unreleased feature.
Reported by Robert Haas. Reviewed by Michael Paquier.
Discussion: https://postgr.es/m/CA+TgmobfMU5pdXP36D5iAwxV5WKE_vuDLtp_1QyH+H5jMMt21g@mail.gmail.com
Diffstat (limited to 'src/backend/storage/ipc/ipci.c')
-rw-r--r-- | src/backend/storage/ipc/ipci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/ipc/ipci.c b/src/backend/storage/ipc/ipci.c index 521ed5418cc..2100150f01c 100644 --- a/src/backend/storage/ipc/ipci.c +++ b/src/backend/storage/ipc/ipci.c @@ -149,7 +149,7 @@ CalculateShmemSize(int *num_semaphores) size = add_size(size, SyncScanShmemSize()); size = add_size(size, AsyncShmemSize()); size = add_size(size, StatsShmemSize()); - size = add_size(size, WaitEventExtensionShmemSize()); + size = add_size(size, WaitEventCustomShmemSize()); size = add_size(size, InjectionPointShmemSize()); size = add_size(size, SlotSyncShmemSize()); #ifdef EXEC_BACKEND @@ -355,7 +355,7 @@ CreateOrAttachShmemStructs(void) SyncScanShmemInit(); AsyncShmemInit(); StatsShmemInit(); - WaitEventExtensionShmemInit(); + WaitEventCustomShmemInit(); InjectionPointShmemInit(); } |