mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Refactor xlog.c to create src/backend/postmaster/startup.c
Startup process now has its own dedicated file, just like all other special/background processes. Reduces role and size of xlog.c
This commit is contained in:
@ -24,6 +24,7 @@
|
||||
#include <signal.h>
|
||||
|
||||
#include "access/xlog_internal.h"
|
||||
#include "postmaster/startup.h"
|
||||
#include "replication/walreceiver.h"
|
||||
#include "storage/pmsignal.h"
|
||||
#include "storage/shmem.h"
|
||||
@ -110,6 +111,7 @@ WalRcvInProgress(void)
|
||||
|
||||
/*
|
||||
* Stop walreceiver (if running) and wait for it to die.
|
||||
* Executed by the Startup process.
|
||||
*/
|
||||
void
|
||||
ShutdownWalRcv(void)
|
||||
|
Reference in New Issue
Block a user