summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/dbdump.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/dbdump.pl b/util/dbdump.pl
index 84e08126..acb4bf01 100755
--- a/util/dbdump.pl
+++ b/util/dbdump.pl
@@ -102,8 +102,9 @@ my $schema = VNDB::Schema::schema;
my $types = VNDB::Schema::types;
my $references = VNDB::Schema::references;
-my $db = DBI->connect('dbi:Pg:dbname=vndb', 'vndb', undef, { RaiseError => 1 });
+my $db = DBI->connect('dbi:Pg:dbname=vndb', 'vndb', undef, { RaiseError => 1, AutoCommit => 0 });
$db->do('SET TIME ZONE +0');
+$db->do('SET TRANSACTION ISOLATION LEVEL SERIALIZABLE');
sub export_timestamp {