8000 Add a heartbeat test program. · postgrespro/postgres_cluster@030fdd8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 030fdd8

Browse files
committed
Add a heartbeat test program.
1 parent 3dfd14d commit 030fdd8

File tree

2 files changed

+401
-1
lines changed

2 files changed

+401
-1
lines changed

contrib/pg_dtm/dtmd/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ endif
1111

1212
.PHONY: all clean check bindir objdir
1313

14-
all: bin/dtmd
14+
all: bin/dtmd bin/heart
1515
@echo Done.
1616
@echo Feel free to run the tests with \'make check\'.
1717

@@ -22,6 +22,10 @@ bin/dtmd: obj/server.o obj/main.o obj/clog.o obj/clogfile.o obj/util.o obj/trans
2222
obj/snapshot.o \
2323
$(SOCKHUB_LDFLAGS)
2424

25+
bin/heart: obj/heart.o obj/util.o | bindir objdir
26+
$(CC) -o bin/heart $(CFLAGS) \
27+
obj/heart.o obj/util.o
28+
2529
obj/server.o: src/server.c | objdir
2630
$(CC) -c -o obj/server.o $(CFLAGS) $(SOCKHUB_CFLAGS) src/server.c
2731

0 commit comments

Comments
 (0)
0