Commit b872ac42 authored by Ted Trask's avatar Ted Trask

Fixed bug caused by postgresql failing to delete a savepoint when you create a...

Fixed bug caused by postgresql failing to delete a savepoint when you create a new one with the same name.

Symptom was running out of shared memory in postgres because there were thousands of savepoints.
parent 804f021d
......@@ -887,6 +887,8 @@ local function importlogfile(source, cookiesfile, file, parselog_func, importlog
else
con:execute("START TRANSACTION")
end
else
assert(con:execute("RELEASE SAVEPOINT before_line"))
end
end
con:execute("COMMIT")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment