]> granicus.if.org Git - postgresql/commitdiff
Turn on log_replication_commands in PostgresNode
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 26 Sep 2017 19:00:05 +0000 (15:00 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 26 Sep 2017 20:05:25 +0000 (16:05 -0400)
This is useful for example for the pg_basebackup and related tests.

src/test/perl/PostgresNode.pm

index edcac6fb9f64c8c3bbc98cc9752309558a95f95c..b44f70d27cc9ef77a838453deec97f32a82b7a42 100644 (file)
@@ -419,6 +419,7 @@ sub init
        print $conf "restart_after_crash = off\n";
        print $conf "log_line_prefix = '%m [%p] %q%a '\n";
        print $conf "log_statement = all\n";
+       print $conf "log_replication_commands = on\n";
        print $conf "wal_retrieve_retry_interval = '500ms'\n";
        print $conf "port = $port\n";