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:
@ -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
|
||||
|
Reference in New Issue
Block a user