Skip to content

Commit 0bfab34

Browse files
committed
mmts extension import
1 parent 147075c commit 0bfab34

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM kelvich/postgres_cluster
1+
FROM pgproent
22

33
RUN mkdir /pg/mmts
44
COPY ./ /pg/mmts/

multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4252,7 +4252,7 @@ static bool MtmTwoPhaseCommit(MtmCurrentTrans* x)
42524252
if (!x->isReplicated && x->isDistributed && x->containsDML) {
42534253
MtmGenerateGid(x->gid);
42544254
if (!x->isTransactionBlock) {
4255-
BeginTransactionBlock();
4255+
BeginTransactionBlock(false);
42564256
x->isTransactionBlock = true;
42574257
CommitTransactionCommand();
42584258
StartTransactionCommand();

pglogical_apply.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ process_remote_commit(StringInfo in)
673673
} else {
674674
/* prepare TBLOCK_INPROGRESS state for PrepareTransactionBlock() */
675675
MTM_LOG2("PGLOGICAL_PREPARE commit: gid=%s", gid);
676-
BeginTransactionBlock();
676+
BeginTransactionBlock(false);
677677
CommitTransactionCommand();
678678
StartTransactionCommand();
679679

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy