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/test/modules/injection_points/injection_points.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/test/modules/injection_points/injection_points.c')
-rw-r--r-- | src/test/modules/injection_points/injection_points.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/modules/injection_points/injection_points.c b/src/test/modules/injection_points/injection_points.c index 5c44625d1d7..1b695a18203 100644 --- a/src/test/modules/injection_points/injection_points.c +++ b/src/test/modules/injection_points/injection_points.c @@ -216,7 +216,7 @@ injection_wait(const char *name, const void *private_data) * this custom wait event name is not released, but we don't care much for * testing as this should be short-lived. */ - injection_wait_event = WaitEventExtensionNew(name); + injection_wait_event = WaitEventInjectionPointNew(name); /* * Find a free slot to wait for, and register this injection point's name. |