pgsql: Change ProcSendSignal() to take pgprocno.
От | Thomas Munro |
---|---|
Тема | pgsql: Change ProcSendSignal() to take pgprocno. |
Дата | |
Msg-id | E1mxgzj-0000cY-SG@gemulon.postgresql.org обсуждение исходный текст |
Список | pgsql-committers |
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> Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a13db0e16404ae532fe037071c7fe2576a1f8890 Modified Files -------------- src/backend/access/transam/xlog.c | 3 -- src/backend/storage/buffer/buf_init.c | 3 +- src/backend/storage/buffer/bufmgr.c | 10 +++---- src/backend/storage/lmgr/predicate.c | 6 +++- src/backend/storage/lmgr/proc.c | 50 ++++--------------------------- src/include/storage/buf_internals.h | 8 ++--- src/include/storage/predicate_internals.h | 1 + src/include/storage/proc.h | 6 +--- 8 files changed, 23 insertions(+), 64 deletions(-)
В списке pgsql-committers по дате отправления: