pgbackrest.git / summary / log / commit / refs

commit    bb6963cf3b7ba30e2fa13e8df57b234d283d2cbe
Author:   David Steele <david@crunchydata.com>
Date:     Tue Sep 08 18:01:19 2015 +0000

    Implement issue #135: Suppress PostgreSQL notices.


lib/BackRest/Db.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/BackRest/Db.pm b/lib/BackRest/Db.pm index 77eff5a1f..bf01c6a1f 100644 --- a/lib/BackRest/Db.pm +++ b/lib/BackRest/Db.pm @@ -202,7 +202,8 @@ sub executeSql {name => 'strDbUser', value => $strDbUser} ); - $self->{hDb} = DBI->connect($strDbUri, $strDbUser, undef, {AutoCommit => 1, RaiseError => 0, PrintError => 0}); + $self->{hDb} = DBI->connect($strDbUri, $strDbUser, undef, + {AutoCommit => 1, RaiseError => 0, PrintError => 0, Warn => 0}); if (!$self->{hDb}) { [parent: adc5568b1509]