Commit 45a30629 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 301676: [PostgreSQL] Bugzilla::DB::Pg does not support using a local socket…

Bug 301676: [PostgreSQL] Bugzilla::DB::Pg does not support using a local socket - Patch by Emmanuel Seyman <eseyman@linagora.com> r/a=mkanat
parent f4c86834
......@@ -60,7 +60,8 @@ sub new {
$dbname ||= 'template1';
# construct the DSN from the parameters we got
my $dsn = "DBI:Pg:host=$host;dbname=$dbname";
my $dsn = "DBI:Pg:dbname=$dbname";
$dsn .= ";host=$host" if $host;
$dsn .= ";port=$port" if $port;
# This stops Pg from printing out lots of "NOTICE" messages when
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment