From a13db0e16404ae532fe037071c7fe2576a1f8890 Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Thu, 16 Dec 2021 12:40:15 +1300 Subject: Change ProcSendSignal() to take pgprocno. Instead of referring to target backends by pid, use pgprocno. This means that we don't have to scan the ProcArray and we can drop some special case code for dealing with the startup process. Discussion: https://postgr.es/m/CA%2BhUKGLYRyDaneEwz5Uya_OgFLMx5BgJfkQSD%3Dq9HmwsfRRb-w%40mail.gmail.com Reviewed-by: Soumyadeep Chakraborty Reviewed-by: Ashwin Agrawal Reviewed-by: Andres Freund --- src/backend/access/transam/xlog.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/backend/access/transam/xlog.c') diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 72aeb42961f..1e1fbe957fa 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -7519,9 +7519,6 @@ StartupXLOG(void) /* Also ensure XLogReceiptTime has a sane value */ XLogReceiptTime = GetCurrentTimestamp(); - /* Allow ProcSendSignal() to find us, for buffer pin wakeups. */ - PublishStartupProcessInformation(); - /* * Let postmaster know we've started redo now, so that it can launch * the archiver if necessary. -- cgit v1.2.3