projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5865e06
)
Remove unnecessary assertion in postmaster.c
author
Michael Paquier
Thu, 15 Jul 2021 06:00:45 +0000
(15:00 +0900)
committer
Michael Paquier
Thu, 15 Jul 2021 06:00:45 +0000
(15:00 +0900)
A code path asserted that the archiver was dead, but a check made that
impossible to happen.
Author: Bharath Rupireddy
Discussion: https://postgr.es/m/CALj2ACW=CYE1ars+2XyPTEPq0wQvru4c0dPZ=Nrn3EqNBkksvQ@mail.gmail.com
Backpatch-throgh: 14
src/backend/postmaster/postmaster.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/postmaster.c
b/src/backend/postmaster/postmaster.c
index 5a050898fec79a26edc23c79d516c1c3f22de86d..122c2b05bdb70a5680dccfa8cb971bf5c0cf0b22 100644
(file)
--- a/
src/backend/postmaster/postmaster.c
+++ b/
src/backend/postmaster/postmaster.c
@@
-3934,7
+3934,6
@@
PostmasterStateMachine(void)
Assert(CheckpointerPID == 0);
Assert(WalWriterPID == 0);
Assert(AutoVacPID == 0);
- Assert(PgArchPID == 0);
/* syslogger is not considered here */
pmState = PM_NO_CHILDREN;
}