diff options
author | Thomas Munro <tmunro@postgresql.org> | 2021-12-16 12:40:15 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2021-12-16 15:56:03 +1300 |
commit | a13db0e16404ae532fe037071c7fe2576a1f8890 (patch) | |
tree | dc19c338b46532e1f8a5b7688c2ac53a39738677 /src/backend/access/transam/xlog.c | |
parent | bbc227e951ecc59a29205be4952a623e7d1dd534 (diff) | |
download | postgresql-a13db0e16404ae532fe037071c7fe2576a1f8890.tar.gz postgresql-a13db0e16404ae532fe037071c7fe2576a1f8890.zip |
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 <soumyadeep2007@gmail.com>
Reviewed-by: Ashwin Agrawal <ashwinstar@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r-- | src/backend/access/transam/xlog.c | 3 |
1 files changed, 0 insertions, 3 deletions
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. |