1
0
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:
Simon Riggs
2011-11-02 14:25:01 +00:00
parent 86e3364899
commit 9aceb6ab3c
7 changed files with 291 additions and 197 deletions

View File

@ -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)