summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-13 16:02:08 +0200
committerChristian Grothoff <christian@grothoff.org>2016-07-13 16:02:08 +0200
commit0973bca1e480d9a60b57851af12efabcdb84ecc2 (patch)
treed785e2ddaf6ebe775f07cbcd3ce981f3aa62e658 /src
parent9035b9d3245692f266fc50fde6da144c6e069128 (diff)
downloadexchange-0973bca1e480d9a60b57851af12efabcdb84ecc2.tar.gz
exchange-0973bca1e480d9a60b57851af12efabcdb84ecc2.tar.bz2
exchange-0973bca1e480d9a60b57851af12efabcdb84ecc2.zip
-be explicit about transaction mode
Diffstat (limited to 'src')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index 5265660ea..57cae4e70 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -1286,7 +1286,7 @@ postgres_start (void *cls,
PGresult *result;
result = PQexec (session->conn,
- "BEGIN");
+ "START TRANSACTION ISOLATION LEVEL SERIALIZABLE");
if (PGRES_COMMAND_OK !=
PQresultStatus (result))
{