Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit dc2db1e

Browse files
committed
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
1 parent 5865e06 commit dc2db1e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/postmaster/postmaster.c

-1
Original file line numberDiff line numberDiff line change
@@ -3934,7 +3934,6 @@ PostmasterStateMachine(void)
39343934
Assert(CheckpointerPID == 0);
39353935
Assert(WalWriterPID == 0);
39363936
Assert(AutoVacPID == 0);
3937-
Assert(PgArchPID == 0);
39383937
/* syslogger is not considered here */
39393938
pmState = PM_NO_CHILDREN;
39403939
}

0 commit comments

Comments
 (0)