summaryrefslogtreecommitdiff
path: root/contrib/rserv/ApplySnapshot.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/rserv/ApplySnapshot.in')
-rw-r--r--contrib/rserv/ApplySnapshot.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/rserv/ApplySnapshot.in b/contrib/rserv/ApplySnapshot.in
index a3b79e19ee..695605f139 100644
--- a/contrib/rserv/ApplySnapshot.in
+++ b/contrib/rserv/ApplySnapshot.in
@@ -32,11 +32,13 @@ $sinfo = "$sinfo host=$opt_host" if (defined($opt_host));
$sinfo = "$sinfo user=$opt_user" if (defined($opt_user));
$sinfo = "$sinfo password=$opt_password" if (defined($opt_password));
-my $conn = Pg::connectdb(sinfo);
+my $conn = Pg::connectdb($sinfo);
my $inpf = new IO::File;
$inpf = STDIN;
+$RServ::quiet = !$verbose;
+
$res = ApplySnapshot ($conn, $inpf);
if ($res > 0)