mirror of
https://github.com/postgres/postgres.git
synced 2025-09-09 13:09:39 +03:00
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
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user