From 0e0dfd4f1176f309af3387cf45906d9026d2d15e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 13 Jun 2013 10:56:02 +0200 Subject: [PATCH] fixup: Pg hardcoden --- SL/DBConnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.20.1