Content-Length: 256287 | pFad | http://github.com/postgrespro/postgres_cluster/commit/546c13e11b29a5408b9d6a6e3cca301380b47f7f

1A Workaround for RecoverPreparedTransactions() · postgrespro/postgres_cluster@546c13e · GitHub
Skip to content

Commit 546c13e

Browse files
Workaround for RecoverPreparedTransactions()
Force overwriteOK = true while we investigate deeper fix Proposed by Tom Lane as temporary measure, accepted by me
1 parent 8463880 commit 546c13e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/transam/twophase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1956,7 +1956,7 @@ RecoverPreparedTransactions(void)
19561956
* hierarchy, but there's no need to restore that exactly.
19571957
*/
19581958
for (i = 0; i < hdr->nsubxacts; i++)
1959-
SubTransSetParent(subxids[i], xid, overwriteOK);
1959+
SubTransSetParent(subxids[i], xid, true);
19601960

19611961
/*
19621962
* Recreate its GXACT and dummy PGPROC. But, check whether

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/546c13e11b29a5408b9d6a6e3cca301380b47f7f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy