mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
Bug 361175: [PostgreSQL] Too many "NOTICE" messages from checksetup.pl
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor, a=justdave
This commit is contained in:
parent
d2154b0312
commit
79f9625624
@ -62,7 +62,11 @@ sub new {
|
||||
# construct the DSN from the parameters we got
|
||||
my $dsn = "DBI:Pg:host=$host;dbname=$dbname";
|
||||
$dsn .= ";port=$port" if $port;
|
||||
|
||||
|
||||
# This stops Pg from printing out lots of "NOTICE" messages when
|
||||
# creating tables.
|
||||
$dsn .= ";options='-c client_min_messages=warning'";
|
||||
|
||||
my $self = $class->db_new($dsn, $user, $pass);
|
||||
|
||||
# all class local variables stored in DBI derived class needs to have
|
||||
|
Loading…
Reference in New Issue
Block a user