1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-23 14:01:44 +03:00

Add regression tests for multiple synchronous standbys.

Authors: Suraj Kharage, Michael Paquier, Masahiko Sawada, refactored by me
Reviewed-By: Kyotaro Horiguchi
This commit is contained in:
Fujii Masao
2016-04-08 16:48:53 +09:00
parent 0711803775
commit 196b72fb9a
2 changed files with 167 additions and 0 deletions

View File

@ -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