| 1 |
MODULES = bgw_replstatus |
| 2 |
|
| 3 |
PG_CONFIG=pg_config |
| 4 |
PGXS := $(shell $(PG_CONFIG) --pgxs) |
| 5 |
include $(PGXS) |
| 6 |
|
| 7 |
NC = nc |
| 8 |
NC_ARGS = -dq1 |
| 9 |
LISTEN_ADDRESS = 127.0.0.1 |
| 10 |
LISTEN_PORT = 5400 |
| 11 |
|
| 12 |
installcheck: |
| 13 |
[ "$(shell $(NC) $(NC_ARGS) $(LISTEN_ADDRESS) $(LISTEN_PORT))" = "MASTER" ] |