aboutsummaryrefslogtreecommitdiff
path: root/src/test/perl/PostgresNode.pm
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2016-04-08 16:48:53 +0900
committerFujii Masao <fujii@postgresql.org>2016-04-08 16:48:53 +0900
commit196b72fb9a5556c66f2b012cc4e869175a3049fa (patch)
tree7dd3b42cbca23059ac34f1932e66df222bdd4275 /src/test/perl/PostgresNode.pm
parent0711803775a37e0bf39d7efdd1e34d9d7e640ea1 (diff)
downloadpostgresql-196b72fb9a5556c66f2b012cc4e869175a3049fa.tar.gz
postgresql-196b72fb9a5556c66f2b012cc4e869175a3049fa.zip
Add regression tests for multiple synchronous standbys.
Authors: Suraj Kharage, Michael Paquier, Masahiko Sawada, refactored by me Reviewed-By: Kyotaro Horiguchi
Diffstat (limited to 'src/test/perl/PostgresNode.pm')
-rw-r--r--src/test/perl/PostgresNode.pm18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm
index 2cbd2887ba0..e42c1174cb5 100644
--- a/src/test/perl/PostgresNode.pm
+++ b/src/test/perl/PostgresNode.pm
@@ -668,6 +668,24 @@ sub stop
=pod
+=item $node->reload()
+
+Reload configuration parameters on the node.
+
+=cut
+
+sub reload
+{
+ my ($self) = @_;
+ my $port = $self->port;
+ my $pgdata = $self->data_dir;
+ my $name = $self->name;
+ print "### Reloading node \"$name\"\n";
+ TestLib::system_log('pg_ctl', '-D', $pgdata, 'reload');
+}
+
+=pod
+
=item $node->restart()
Wrapper for pg_ctl -w restart