mirror of
https://github.com/postgres/postgres.git
synced 2025-05-12 16:21:30 +03:00
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:
parent
8463880872
commit
546c13e11b
@ -1956,7 +1956,7 @@ RecoverPreparedTransactions(void)
|
|||||||
* hierarchy, but there's no need to restore that exactly.
|
* hierarchy, but there's no need to restore that exactly.
|
||||||
*/
|
*/
|
||||||
for (i = 0; i < hdr->nsubxacts; i++)
|
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
|
* Recreate its GXACT and dummy PGPROC. But, check whether
|
||||||
|
Loading…
x
Reference in New Issue
Block a user