my $dsn = "DBI:Pg:database=Repairs;host=localhost;port=5432"; my $dbh = DBI->connect( $dsn, '', '', { AutoCommit => 0, RaiseError => 1 } ) || croak "Couldn't authenticate to the Database: $OS_ERROR";