projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8463880
)
Workaround for RecoverPreparedTransactions()
author
Simon Riggs
Sun, 23 Apr 2017 21:12:01 +0000
(22:12 +0100)
committer
Simon Riggs
Sun, 23 Apr 2017 21:12:01 +0000
(22:12 +0100)
Force overwriteOK = true while we investigate deeper fix
Proposed by Tom Lane as temporary measure, accepted by me
src/backend/access/transam/twophase.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/twophase.c
b/src/backend/access/transam/twophase.c
index 79b3957d08bb94c48f0a35389faaa8c352de5829..fa7124d90394c302fabd0b2a70e991c1a3ef3bbd 100644
(file)
--- a/
src/backend/access/transam/twophase.c
+++ b/
src/backend/access/transam/twophase.c
@@
-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