aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/replication/slot.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index 02ae27499b5..2614f98ddd2 100644
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -53,7 +53,6 @@
#include "storage/proc.h"
#include "storage/procarray.h"
#include "utils/builtins.h"
-#include "utils/injection_point.h"
/*
* Replication slot on-disk data structure.
@@ -1659,14 +1658,6 @@ InvalidatePossiblyObsoleteSlot(ReplicationSlotInvalidationCause cause,
last_signaled_pid = active_pid;
terminated = true;
conflict_prev = conflict;
-
- /*
- * This injection point needs to be after kill() to ensure
- * that the slot is not "active" anymore. It also has to be
- * after ReportSlotInvalidation() to ensure that the
- * invalidation message is logged.
- */
- INJECTION_POINT("terminate-process-holding-slot");
}
/* Wait until the slot is released. */