Workaround for RecoverPreparedTransactions()

Force overwriteOK = true while we investigate deeper fix

Proposed by Tom Lane as temporary measure, accepted by me
This commit is contained in:
Simon Riggs 2017-04-23 22:12:01 +01:00
parent 8463880872
commit 546c13e11b
1 changed files with 1 additions and 1 deletions

View File

@ -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