From 5a73a6fdfc0f1992b642645bae1b37c8975a35d8 Mon Sep 17 00:00:00 2001 From: anastasia Date: Fri, 28 May 2021 19:00:50 +0300 Subject: [PATCH] add -w flag to wait till pg_ctl actually finishes what was asked --- control_plane/src/compute.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/control_plane/src/compute.rs b/control_plane/src/compute.rs index 452f64b5b5..9cbde05f70 100644 --- a/control_plane/src/compute.rs +++ b/control_plane/src/compute.rs @@ -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, ]