add -w flag to wait till pg_ctl actually finishes what was asked

This commit is contained in:
anastasia
2021-05-28 20:33:16 +03:00
committed by lubennikovaav
parent 4608b1ec70
commit 5a73a6fdfc
+1
View File
@@ -382,6 +382,7 @@ impl PostgresNode {
self.pgdata().to_str().unwrap(),
"-l",
self.pgdata().join("log").to_str().unwrap(),
"-w", //wait till pg_ctl actually does what was asked
],
args,
]