Split "action" functions to individual files

repmgr3's repmgr.c file was not far off 10,000 lines - this will make
it easier to manage individual parts of the code.
This commit is contained in:
Ian Barwick
2017-04-26 22:58:21 +09:00
parent 230eab28a9
commit bcf55b4f72
9 changed files with 426 additions and 345 deletions

View File

@@ -26,7 +26,8 @@ include Makefile.global
$(info Building against PostgreSQL $(MAJORVERSION))
REPMGR_CLIENT_OBJS = repmgr-client.o config.o log.o strutil.o dbutils.o
REPMGR_CLIENT_OBJS = repmgr-client.o repmgr-action-master.o repmgr-action-cluster.o \
config.o log.o strutil.o dbutils.o
REPMGRD_OBJS = repmgrd.o
$(REPMGR_CLIENT_OBJS): repmgr-client.h