aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-07-15 15:00:52 +0900
committerMichael Paquier <michael@paquier.xyz>2021-07-15 15:00:52 +0900
commitb90063511a3ee41d037b2da0d4e0b3bc399140c5 (patch)
tree1f6f4b2745d79e6d064339dd3595629b1b10ccfe
parent3b57d5af7435d0d21bdec392dc1ce7c13871df8b (diff)
downloadpostgresql-b90063511a3ee41d037b2da0d4e0b3bc399140c5.tar.gz
postgresql-b90063511a3ee41d037b2da0d4e0b3bc399140c5.zip
Remove unnecessary assertion in postmaster.c
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
-rw-r--r--src/backend/postmaster/postmaster.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index 5a050898fec..122c2b05bdb 100644
--- 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;
}