Commit 546c13e1 authored by Simon Riggs's avatar Simon Riggs

Workaround for RecoverPreparedTransactions()

Force overwriteOK = true while we investigate deeper fix

Proposed by Tom Lane as temporary measure, accepted by me
parent 84638808
......@@ -1956,7 +1956,7 @@ RecoverPreparedTransactions(void)
* hierarchy, but there's no need to restore that exactly.
*/
for (i = 0; i < hdr->nsubxacts; i++)
SubTransSetParent(subxids[i], xid, overwriteOK);
SubTransSetParent(subxids[i], xid, true);
/*
* Recreate its GXACT and dummy PGPROC. But, check whether
......
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