mirror of
https://github.com/postgres/postgres.git
synced 2025-08-08 06:02:22 +03:00
This simple patch fixes broken Makefile, broken ApplySnapshot and
makes all utilities honour --verbose command line option. -- Yours, Alexey V. Borzov, Webmaster of RDW.ru
This commit is contained 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)
|
||||
|
Reference in New Issue
Block a user