diff --git a/src/backend/access/transam/twophase.c b/src/backend/access/transam/twophase.c index 79b3957d08..fa7124d903 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