*** a/src/backend/postmaster/postmaster.c
--- b/src/backend/postmaster/postmaster.c
***************
*** 2173,2178 **** pmdie(SIGNAL_ARGS)
--- 2173,2184 ----
  				/* and the walwriter too */
  				if (WalWriterPID != 0)
  					signal_child(WalWriterPID, SIGTERM);
+ 				/* and the startup process too */
+ 				if (StartupPID != 0)
+ 					signal_child(StartupPID, SIGTERM);
+ 				/* and the walreceiver too */
+ 				if (WalReceiverPID != 0)
+ 					signal_child(WalReceiverPID, SIGTERM);
  				pmState = PM_WAIT_BACKUP;
  			}
  
