X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9fdaa1e38014b80609af2fbddb737d6c8e6734d1..0e0dfd4f1176f309af3387cf45906d9026d2d15e:/SL/DBConnect.pm diff --git a/SL/DBConnect.pm b/SL/DBConnect.pm index e67d8d095..aeb8719da 100644 --- a/SL/DBConnect.pm +++ b/SL/DBConnect.pm @@ -28,7 +28,7 @@ sub get_connect_args { my $db_cfg = SL::DB->registry->entry(domain => $domain, type => $type) || { }; return ( - 'dbi:' . $db_cfg->{dbi_driver} . ':dbname=' . $db_cfg->{database} . ';host=' . ($db_cfg->{host} || 'localhost') . ';port=' . ($db_cfg->{port} || 5432), + 'dbi:Pg:dbname=' . $db_cfg->{database} . ';host=' . ($db_cfg->{host} || 'localhost') . ';port=' . ($db_cfg->{port} || 5432), $db_cfg->{username}, $db_cfg->{password}, $self->get_options(%{ $db_cfg->{connect_options} || {} }, @args),