ignore psql PAGER
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 22 Aug 2017 11:50:26 +0000 (13:50 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 22 Aug 2017 11:50:26 +0000 (13:50 +0200)
Makefile

index ef0555f..137504c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 all:
        @echo "make push"
-       psql -h 10.200.1.60 -c 'show pool_nodes' postgres postgres
+       PAGER= psql -h 10.200.1.60 -c 'show pool_nodes' postgres postgres
+       PAGER= psql -h 10.200.1.61 -c 'SELECT * from pg_stat_replication' postgres postgres
 
 init:
        sh -xe ./t/0-init-cluster.sh