Made planet dump transaction serializable. Hopefully addresses some inconsistencies.
authorMatt Amos <zerebubuth@gmail.com>
Wed, 10 Mar 2010 00:37:28 +0000 (00:37 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Wed, 10 Mar 2010 00:37:28 +0000 (00:37 +0000)
planet06_pg.cpp

index 78644eb..0f5b5f5 100644 (file)
@@ -457,6 +457,7 @@ int main(int argc, char **argv)
     // open database connection
     pqxx::connection conn(connection_params);
     pqxx::work xaction(conn);
+    xaction.exec("set transaction isolation level serializable read only");
 
     fetch_users(xaction);