Content-Length: 255326 | pFad | http://github.com/m99coder/postgres_cluster/commit/392dddefa9e71e238bc506cafbd2da80ec6e257d

2C Allow precommit to be sent in workers pool when preserve_commit_order… · m99coder/postgres_cluster@392ddde · GitHub
Skip to content

Commit 392ddde

Browse files
committed
Allow precommit to be sent in workers pool when preserve_commit_order=false
1 parent 515af13 commit 392ddde

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pglogical_receiver.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,8 @@ pglogical_receiver_main(Datum main_arg)
576576
elog(WARNING, "Commit of prepared transaction takes %lld usec, flags=%x", stop - start, stmt[1]);
577577
}
578578
} else {
579-
Assert(stmt[1] == PGLOGICAL_PREPARE || stmt[1] == PGLOGICAL_COMMIT); /* all other commits should be applied in place */
579+
/* all other commits should be applied in place */
580+
Assert(stmt[1] == PGLOGICAL_PREPARE || stmt[1] == PGLOGICAL_COMMIT || stmt[1] == PGLOGICAL_PRECOMMIT_PREPARED);
580581
MtmExecute(buf.data, buf.used);
581582
}
582583
}

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/m99coder/postgres_cluster/commit/392dddefa9e71e238bc506cafbd2da80ec6e257d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy