Proper debug for isolation levels
authorGreg Sabino Mullane <greg@endpoint.com>
Fri, 21 Jun 2013 02:33:01 +0000 (22:33 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Fri, 21 Jun 2013 02:33:01 +0000 (22:33 -0400)
Bucardo.pm

index a4cb4bb6ac6e46c09eb6a77af57c838c51e0b771..37919ecb00854b3e3649da15f5d3ef690f54cc89 100644 (file)
@@ -2899,7 +2899,7 @@ sub start_kid {
 
             if ($x->{dbtype} eq 'postgres') {
                 $x->{dbh}->do(qq{SET TRANSACTION ISOLATION LEVEL $isolation_level READ WRITE});
-                $self->glog(qq{Set database "$dbname" to serializable read write}, LOG_DEBUG);
+                $self->glog(qq{Set database "$dbname" to $isolation_level read write}, LOG_DEBUG);
             }
 
             if ($x->{dbtype} eq 'mysql' or $x->{dbtype} eq 'mariadb') {