Hi all,
I just noticed that --debug mode is missing for the remote mode of pg_rewind:
# Do rewind using a remote connection as source
my $result =
run(['pg_rewind',
+ "--debug",
"--source-server",
"port=$port_standby dbname=postgres",
"--target-pgdata=$test_master_datadir"],
'>>', $log_path, '2>&1');
It is used for the local mode, hence I guess it makes sense to add it
there as well.
Regards,
--
Michael
diff --git a/src/bin/pg_rewind/RewindTest.pm b/src/bin/pg_rewind/RewindTest.pm
index e6a5b9b..b5bea31 100644
--- a/src/bin/pg_rewind/RewindTest.pm
+++ b/src/bin/pg_rewind/RewindTest.pm
@@ -240,6 +240,7 @@ sub run_pg_rewind
# Do rewind using a remote connection as source
my $result =
run(['pg_rewind',
+ "--debug",
"--source-server", "port=$port_standby dbname=postgres",
"--target-pgdata=$test_master_datadir"],
'>>', $log_path, '2>&1');
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers