diff --git a/plugins/postgresql/postgres_space_ b/plugins/postgresql/postgres_space_ index df1fd640..6a8931b0 100755 --- a/plugins/postgresql/postgres_space_ +++ b/plugins/postgresql/postgres_space_ @@ -67,9 +67,6 @@ if (exists $ARGV[0]) { my (undef, undef, $dbname) = split (/_/, $0, 3); die "No dbname configured (did you make the proper symlink?)" unless $dbname; -my @datasources = DBI->data_sources ('Pg') - or die ("Can't read any possible data sources: $?"); - my $dsn = "DBI:Pg:dbname=$dbname"; $dsn .= ";host=$dbhost" if $dbhost; print "#$dsn\n" if $debug;