diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2017-04-23 22:12:01 +0100 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2017-04-23 22:12:01 +0100 |
commit | 546c13e11b29a5408b9d6a6e3cca301380b47f7f (patch) | |
tree | 3193cdcbcd32f7533efb7b22f9eaba3eaba1a7e4 /src | |
parent | 8463880872cf8a6fc6bb9a4ad34b84aded7a33e2 (diff) | |
download | postgresql-546c13e11b29a5408b9d6a6e3cca301380b47f7f.tar.gz postgresql-546c13e11b29a5408b9d6a6e3cca301380b47f7f.zip |
Workaround for RecoverPreparedTransactions()
Force overwriteOK = true while we investigate deeper fix
Proposed by Tom Lane as temporary measure, accepted by me
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/transam/twophase.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/twophase.c b/src/backend/access/transam/twophase.c index 79b3957d08b..fa7124d9039 100644 --- 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 |